Thread: PHP Update
View Single Post
  #2 (permalink)  
Old 07-05-09, 04:53 PM
Jcbones Jcbones is offline
Coding Addict
 
Join Date: Mar 2009
Location: North Carolina, USA
Posts: 280
Thanks: 3
Thanked 5 Times in 5 Posts
You are trying to update a row where the id = NULL.

Your values are being sent by "POST" not "GET".

So change your $id line to:
PHP Code:
$id mysql_real_escape_string($_POST['title']); 
Reply With Quote