beta
04-17-2006, 08:55 AM
[MySQL][ODBC 3.51 Driver][mysqld-4.1.18-nt]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Read='No'' at line 1
The line:
Set chck=dbcon.execute("SELECT Count(Msg_ID) AS Unread FROM Message WHERE MsgTo="&Session(""&Var_LadderAbbr&"_AccountID")&" AND Read='No'")
Any ideas?... :\
The line:
Set chck=dbcon.execute("SELECT Count(Msg_ID) AS Unread FROM Message WHERE MsgTo="&Session(""&Var_LadderAbbr&"_AccountID")&" AND Read='No'")
Any ideas?... :\