On Tuesday 17 June 2003 05:45, Dennis Martin Ong wrote: > Is there > something I've missed out cos it seems like the $sltCat which is suppose to > pass the selected option value when the form is submitted is not passing > the correct value,
So have you verified that it passes the value as expected or what? > $query_rsCat = "SELECT * FROM inventory WHERE category='$sltCat' OR > item_name LIKE '%$txtSearch%'"; And have you checked that $query_rsCat contains what you expected it to contain? -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Sometimes, when I think of what that girl means to me, it's all I can do to keep from telling her. -- Andy Capp */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php