Re: Cookies are now driving me crazy....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux