note 110780 rejected from function.strtolower by danbrown

From: Date: Thu, 06 Dec 2012 21:56:47 +0000
Subject: note 110780 rejected from function.strtolower by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-192380@lists.php.net to get a copy of this message
Note Submitter: aladyreg at centrum dot cz ---- Hi, I have a problem. $vyraz = strtolower($_POST['q']); $vysledek = mysql_query("SELECT * FROM data_clanky WHERE 'strtolower(nazev)' LIKE '%$vyraz%'"); I want to search in the database in column nazev, but convert all to lowercase for the matches. This can not do it. Please, Could you someone help me? Thanks a lot

« previous php.notes (#192380) next »