|
| Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 | |
|
Join Date: Sep 2002
Location: Auckland
Posts: 1,227
Reputation: 59
|
Unknown column in 'where clause'
Hello.
I've used MYSQL a bit - but no expert. I'm getting a confusing error.. PHP :- Code:
Quote:
Can anyone advise where I am going on, & why is it treating a value like a column/field name. EDIT :- I AM expecting 0 / zero results at this time, so i want to retrieve some useful response if its 0 results (or nore than 0 ) Later on, there will be 1 or more results Last edited by PeterPan; 7-20-12 at 04:04 AM.. Reason: added edit text |
|
|
|
|
|
|
#2 |
|
Custom User Title
Join Date: Aug 2006
Location: Michigan
Posts: 2,669
Reputation: 337
|
I think it is in your quotes. Here is a sample I found:
Code:
Code:
|
|
|
|
![]() |
| Thread Tools | |
|
|