I have spent the last two hours trying to work out why I'm getting a *Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\modify.php on line 12.* Here's the full PHP code on paste bin.
I can't seem to figure out how to solve it. Here's how I'm supplying the id value http://localhost/modify.php?id=2