[PHP] Querying from PHP to a MySQL database

2002-09-20 Thread jcole
Howdy all! I've built a page in Dreamweaver MX that uses PHP for scripting. I can get data out of my mysql database but I need to be able to search for wildcards. currently it only matches 100% exact queries. Below is the code that is at the beggining of the PHP page. ---

Re: [PHP] Querying from PHP to a MySQL database

2002-09-20 Thread Marek Kilimajer
wildcard in SQL is %, so your query looks like: $query_search1 = SELECT * FROM secureworks WHERE $varSort_search1 LIKE '%$varText_search1%'; [EMAIL PROTECTED] wrote: Howdy all! I've built a page in Dreamweaver MX that uses PHP for scripting. I can get data out of my mysql database but I