THANKS I got it!
-Original Message-
From: Chris Hayes [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 13, 2003 5:45 PM
To: Poon, Kelvin (Infomart); 'Chris Hayes'
Cc: '[EMAIL PROTECTED]'
Subject: RE: [PHP] Search/Regular Expression problem
At 22:15 13-3-2003, Po
WHERE textfield LIKE "%word1%"
OR
textfield LIKE "%word2%"'
-Original Message-
From: Chris Hayes [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 13, 2003 4:02 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Se
$WHERE=substr($WHERE,4,strlen($WHERE);
um, make that
$WHERE=substr($WHERE,4,strlen($WHERE)-4;
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yeah my data are from a database. How do I use query to search something
like that?
-Original Message-
From: Chris Hayes [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 13, 2003 4:02 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Search/Regular Expression problem
At 21:48 13-3-2003, you
At 21:48 13-3-2003, you wrote:
My search enginue will bring up a result IF and only if ALL of the words in
$search exist in the result. For example
if
$search = Vax Useful Commands
Then the result is only true if (eregi(".*Vax.*Useful.*Commands.*",
'possible result')) is true
Are your data in a d
5 matches
Mail list logo