Forum Moderators: coopster

Message Too Old, No Replies

Basic Select Statement Issue.

         

mhoctober

11:00 pm on Dec 22, 2005 (gmt 0)

10+ Year Member




All...

can anyone see anything wrong with this sql statement? I am getting no rows returned despite the fact that I have a record that meets the criteria.

$sQuery="SELECT * FROM tblPeople where 'fldPersonemail' = 'mike@hotmail.com' ";

Many thanks

Anyango

11:13 pm on Dec 22, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



try

$sQuery="SELECT * FROM tblPeople where fldPersonemail = 'mike@hotmail.com' ";