By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,636 Members | 2,334 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,636 IT Pros & Developers. It's quick & easy.

sql help

P: n/a
You have an error in your SQL syntax near ''ws2Signups' SET ('name',
'email') = ('gregrpimp', 'g@b.com') WHERE (id = '1') A' at line 1

the full query is

"UPDATE 'ws2Signups' SET ('name', 'email') = ('$name', '$email') WHERE
(id = '$id') AND ('position' ='$i')"

the collumns 'name' and 'email' are varChar 255, 'id' and 'position'
are integers
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
$query = UPDATE ws2signups SET name = '$name', email = '$email WHERE id
= '$id' AND position = '$i'";

Mark

Greg Brant wrote:
You have an error in your SQL syntax near ''ws2Signups' SET ('name',
'email') = ('gregrpimp', 'g@b.com') WHERE (id = '1') A' at line 1

the full query is

"UPDATE 'ws2Signups' SET ('name', 'email') = ('$name', '$email') WHERE
(id = '$id') AND ('position' ='$i')"

the collumns 'name' and 'email' are varChar 255, 'id' and 'position'
are integers

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.