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

MySQL error #1064

P: n/a
When I run this query from PHPMyAdmin, it works:

DELETE FROM `tbl_user_link` WHERE ((`ulUserID`!=3 AND `ulConnectID`!
=1) AND (`ulUserID`!=18 AND `ulConnectID`!=23)) AND `ulTypeID`=10 AND
`ulOtherID`=160

However, when I run it from my application, I get a MySQL error 1064.

Any ideas?

Oct 29 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
am*****@gmail.com wrote:
When I run this query from PHPMyAdmin, it works:

DELETE FROM `tbl_user_link` WHERE ((`ulUserID`!=3 AND `ulConnectID`!
=1) AND (`ulUserID`!=18 AND `ulConnectID`!=23)) AND `ulTypeID`=10 AND
`ulOtherID`=160

However, when I run it from my application, I get a MySQL error 1064.

Any ideas?

Try a MySQL newsgroup - such as comp.databases.mysql. And be sure you
provide the entire message.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Oct 29 '08 #2

P: n/a
On Oct 29, 10:43*pm, "amad...@gmail.com" <amad...@gmail.comwrote:
When I run this query from PHPMyAdmin, it works:

DELETE FROM `tbl_user_link` WHERE ((`ulUserID`!=3 AND `ulConnectID`!
=1) AND (`ulUserID`!=18 AND `ulConnectID`!=23)) AND `ulTypeID`=10AND
`ulOtherID`=160

However, when I run it from my application, I get a MySQL error 1064.

Any ideas?
Error No.1064 is a syntax error, watch your code quotation marks etc...
Oct 30 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.