> $result_insert = mysql_query("replace into wantlist where id =
> '$id' values ('', '$artist', '$title', '$tracks', '', '', '')");
> the $id is already defined in the url, by the way (ex.

The way replace works is it looks for a unique index key in your update
list, if it finds one it uses that key to determine where the REPLACE is

The update command would probably work better for you if all you're wanting
to do is change column values of a record already stored in the table.  It's
also much easier and versatile


Craig Vincent

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to