On Nov 28, 2007 12:08 PM, Jason Pruim <japruim@xxxxxxxxxx> wrote: > if ($res) { > // now see if user's id exists in database > if (mysql_num_rows($res,0) { You need another ) on that last line: if (mysql_num_rows($res,0)) { You might want to consider getting an editor/ide that will higlight parse errors for you, makes life much easier. :) My ide of choice is EasyEclipse for PHP ( http://www.easyeclipse.org/site/distributions/php.html ), and there are lots of other great editors out there too. This is not meant to start another "my editor is better than yours" thread, just a suggestion. Brady -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php