Re: Cookies are now driving me crazy....
| From: | Brady Mitchell | Date: | Wed, 28 Nov 2007 20:19:09 +0000 |
| Subject: | Re: Cookies are now driving me crazy.... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-265168@lists.php.net to get a copy of this message | ||
On Nov 28, 2007 12:08 PM, Jason Pruim <japruim@raoset.com> 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