Pass var from JavaScript to PHP

From: Date: Tue, 13 Nov 2001 12:22:43 +0000
Subject: Pass var from JavaScript to PHP
Groups: php.db 
Request: Send a blank email to php-db+get-14274@lists.php.net to get a copy of this message
Good day to all! Consider the following code: <FORM ...> <INPUT type="Text" name="criteria" size="50"> <BR> <INPUT type="Button" name="Find" value="Find"> </FORM> I want to get the text that the user writes into the text field into a php variable to use it in the same page. I want to use this text as a criteria to search for an entry in my mySQL DB using a LIKE statement in the select. Does anyone knows how to do it? Thanx inadvance.

« previous php.db (#14274) next »