PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have a problem with this piece of code. The id in the Href works fine but it doesn't return anything when I use GET. I used the echo $id just to check and there appears to be nothing sent.
Although, your script is vulnerable to SQL injection. You should consider casting your integer variables with (int) and/or pass all strings into the query through mysql_real_escape_string()