Ross wrote:
$query = "SELECT * FROM login where username='$_POST['username']' AND pass ='$_POST['pass']'";
You have to use curly braces in order to interpolate an array: $string = "...{$array['foo']} ..."; By the way, my favorite username is this: chris' -- That's what all my friends call me. :-) Chris -- Chris Shiflett Brain Bulb, The PHP Consultancy http://brainbulb.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php