php3-list | 199807
Date: 07/21/98
- Next message: Kristian Koehntopp: "[PHP3] Making pages uncacheable..."
- Previous message: Lars Göransson: "[PHP3] like?"
- In reply to: Lars Göransson: "[PHP3] like?"
- Next in thread: Lars Göransson: "Re: [PHP3] like?"
- Reply: Lars Göransson: "Re: [PHP3] like?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Lars Göransson wrote:
>
> I wonder why wont this work. Should It result in that i could search for
> a name or adress in same formfield?
>
> $query = "select name, address from addressreg where name like '$input%'
> or
> address '$input%'";
I would do like '%$this%'; eg,
$found=db_query("select * from tasks where summary like '%$summary%'
");
goodluck, barry
> Regards,
> Lars
>
> --
> PHP 3 Mailing List http://www.php.net/
> To unsubscribe send an empty message to php3-unsubscribe <email protected>
> To subscribe to the digest list: php3-digest-subscribe <email protected>
> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3
-- +++++++++++++++++++++++++++++++++++++++++ + Barry Voeten barry <email protected> + + Netland Internet Services Amsterdam + + Web Engineering Design Hosting + + www.netland.nl + 31 (0) 20 6943664 +
- application/x-pkcs7-signature attachment: S/MIME Cryptographic Signature
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3
- Next message: Kristian Koehntopp: "[PHP3] Making pages uncacheable..."
- Previous message: Lars Göransson: "[PHP3] like?"
- In reply to: Lars Göransson: "[PHP3] like?"
- Next in thread: Lars Göransson: "Re: [PHP3] like?"
- Reply: Lars Göransson: "Re: [PHP3] like?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

