frozenpeas
Technical User
Hello,
I can't seem to figure out how to update multiple db entries in one query. Here are the methods I have tried (the bolded query works):
Thanks.
frozenpeas
I can't seem to figure out how to update multiple db entries in one query. Here are the methods I have tried (the bolded query works):
Code:
$query = "UPDATE sylvie_links SET link='$link',SET text='$text',SET type='$type',SET comment='$comment' WHERE id='$id'";
$query = "UPDATE sylvie_links SET link='$link' SET text='$text' SET type='$type' SET comment='$comment' WHERE id='$id'";
[b]$query = "UPDATE sylvie_links SET link='$link' WHERE id='$id'";[/b]
Thanks.
frozenpeas