RE: [PHP] Searching for any number in a mysql query

2002-05-21 Thread John Holmes
PROTECTED]] Sent: Tuesday, May 21, 2002 6:28 AM To: [EMAIL PROTECTED] Subject: [PHP] Searching for any number in a mysql query This isn't a one hundred percent PHP Q but here I go. If I have the following query: $query = "SELECT code FROM links WHERE ".$text." like '".$

[PHP] Searching for any number in a mysql query

2002-05-21 Thread webmaster
This isn't a one hundred percent PHP Q but here I go.   If I have the following query: $query = "SELECT code FROM links WHERE ".$text." like '".$l."%' ORDER BY sort_text"; and define the letter a letter i.e x. it works fine. I am not sure what to do if I want to say get something that start