You might also want to use addslashes() .
like '%something%' puts a big load on the database server. and it seems
you are doing mulitples of these queries. Please make sure you have the
correct indices on your tables. You might want to look at fulltext
indexing instead.
all the best
murugesan
use
$det=trim($det);
then assign the $sql value.
-murugesan
- Original Message -
From: "Vincent Fievet" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 29, 2003 11:55 AM
Subject: [PHP] problem with a mysql query with data from a form
-Message d'origine-
De : Vin
- Original Message -
From: "Vincent Fievet" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 29, 2003 11:55 AM
Subject: [PHP] problem with a mysql query with data from a form
-Message d'origine-
De : Vincent Fievet
Envoyé : mercredi 27 août 2003 10:44
À : '[EMAIL
3 matches
Mail list logo