[php]mysql_query(“UPDATE listings SET list_image = ‘.$list_image.’
WHERE list_id = ‘.$list_id.’”);[/php]
note:
listings is a table name
list_image is a column name
$list_image is a string that is the file path, name and extension (I know the string was made correctly because I used it to rename some files)
list_id is an auto-incrementing column in the table
$list_id is a number that I know to have successfully retrieved using mysql_insert_id()
It actually isn’t even registering an error, and I have it programmed to do so. It must be entering a NULL value…