servis 0 Junior Poster in Training

i have displayed a button on a page, by which a user may report anything to admin about contents complaint. when user click on this button, it leads to a new page where in a form he fills data & send to admin.

now i want when user click on button, it opens modal box where he puts the data & send to admin. The probelm is how can we pass variable information associated with the button to modal box then enter this information along with form data to mysql.

i have searched a lot, but could not get anything for solution. Please guide and help anybody.......

thanks in advance