Re: SQL question

From: Date: Thu, 11 Dec 2003 12:09:29 +0000
Subject: Re: SQL question
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-31993@lists.php.net to get a copy of this message
$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.


« previous php.db (#31993) next »