Thread: PHP Update
View Single Post
  #2 (permalink)  
Old 07-05-09, 04:53 PM
Jcbones Jcbones is offline
Aspiring Coder
 
Join Date: Mar 2009
Location: North Carolina, USA
Posts: 516
Thanks: 5
Thanked 47 Times in 44 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