Select and $_POST

From: Date: Wed, 09 Nov 2005 23:21:36 +0000
Subject: Select and $_POST
Groups: php.general 
Request: Send a blank email to php-general+get-225476@lists.php.net to get a copy of this message
What is the correct syntax for $query = "SELECT * FROM login where username='$_POST['username']' AND pass ='$_POST['pass']'"; Thought this would work. R.

« previous php.general (#225476) next »