Re: SQL question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



$query = "SELECT * FROM x_table WHERE name like '%part_of_name%' ";


Constantin Brinzoi wrote:
I know it is possible to search a database like this:

SELECT * FROM x_table WHERE name="%part_of_name%"

but I don't know for sure the correct command.

Could you tell me the right syntax?

TIA
Aurel.

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux