Search String Help: Display Specific Letter
Posted: Sun Apr 04, 2004 7:59 pm
Hi all,
I'm in the process of converting another script that uses PHP to access a mySQL database from a search script to a script that displays results by a specified letter (i.e. display all artists that beging with a, b, etc). Here's the search string that the script currently uses:
I would like to change the $dvd_search variable to a $_GET['beta'] variable, but i keep getting parse errors when I make the change. I'm willing to bet that I'm overlooking something drastically simple. Thanks a million guys.
E
I'm in the process of converting another script that uses PHP to access a mySQL database from a search script to a script that displays results by a specified letter (i.e. display all artists that beging with a, b, etc). Here's the search string that the script currently uses:
Code: Select all
if ($dvd_search != "") { $dvd_search_string = " WHERE ". $dvd_search_type . " like "%" . $dvd_search . "%""; }E