$sql = "SELECT * FROM table WHERE ID ='$_GET[id]' AND title LIKE
'%$_GET[word]%'";
Original Message
Subject: [PHP-DB] SELECT LIKE with "%'" and without "%'"
From: Emiliano Boragina
To: php-db@lists.php.net
Date: 05/03/2009 01:43 AM
Hello.
I am using this:
$sql = "SELECT *
On May 2, 2009, at 6:43 PM, Emiliano Boragina wrote:
Hello.
I am using this:
$sql = "SELECT * FROM table WHERE ID LIKE '%$_GET[id]%' AND title LIKE
'%$_GET[word]%'";
But I want exactlu ID, not one part of many possibles Ids in the DB.
How can I do that?
PLEASE tell me your cleaning that inpu
Hello,
on 04/29/2009 05:39 PM Jonathan Langevin said the following:
> Hey Manuel, this is off topic, but did you guys recently upgrade
> phpclasses.org? Last I visited (a week or two ago) it seemed much snappier
Not really, nothing changed. Were you accessing a mirror or the main
site? Maybe it i
ut I am a starter.
Thanks,
Sashi
__ Information from ESET Smart Security, version of virus
signature database 4052 (20090504) __
The message was checked by ESET Smart Security.
http://www.eset.com
__ Information from ESET Smart Security, version of virus signature