Submit forms

From: Date: Fri, 10 Aug 2001 14:50:57 +0000
Subject: Submit forms
Groups: php.db 
Request: Send a blank email to php-db+get-11223@lists.php.net to get a copy of this message
Hi, I've got a simply search form, on my site using PHP and MySQL. It writes a SELECT query using WHERE (<Field> LIKE '%thingy%') where thingy is the word entered in the form. It works fine if the submit button is pressed, but if you press return after typing the word, instead, it fails and writes nothing for the query, so it ends up like WHERE () Any pointers? Thanks, Ian. --

« previous php.db (#11223) next »