help with mysql query
#3

PHP код:
SELECT `emailFROM `yourtableWHERE `name` = 'John' AND INSTR(`email`, '@') <> 
Then use mysql_num_rows to check the result. If no result is returned, the email field does not contain the @ symbol.
Reply


Messages In This Thread
help with mysql query - by ajwar - 19.02.2012, 12:22
Re: help with mysql query - by aRoach - 19.02.2012, 12:29
Re: help with mysql query - by Vince - 19.02.2012, 12:34
Re: help with mysql query - by ajwar - 19.02.2012, 12:59

Forum Jump:


Users browsing this thread: 1 Guest(s)