How can I do a advanced "string" search in my MySQL tables?

Something like: I have a form with name, phone, age, e-mail... and I want
to fill some of those and search in the database where name has "name
typed in the form" and phone has "number typed in the form"....

How Can I do that by a MySQL command?

I don't know if it's somethin like: select * from users where name like
"%$name%"

regards,

Augusto Cesar Castoldi


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to