I got a question since i'm busy with a shoutbox system. I've added a report input button (it's an image anyway), when you click on it, it have to insert the ID of the message into the database.
However, It's my first time when i create something like this and i would like to stay on the same page (so for example: www.domain.com/shoutbox.php and not www.domain.com/shoutbox.php?p=report) I've read allready that i can use Jquery but i got no idea how to send the ID with it..
You can view the code here: http://pastebin.com/xKP9Aymk I marked the right are with "/// START REPORT AREA" and /// END REPORT AREA"
Can anyone help me with it? Thank you in advance!