Re: Cookies are now driving me crazy....
| From: | Daniel Brown | Date: | Wed, 28 Nov 2007 20:23:01 +0000 |
| Subject: | Re: Cookies are now driving me crazy.... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-265170@lists.php.net to get a copy of this message | ||
On Nov 28, 2007 3:19 PM, Brady Mitchell <mydarb@gmail.com> wrote:
> 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
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Should go without saying that I noticed the problem immediately
after I sent the message before. I had commented out the MySQL stuff
and the function call to get it to run without kicking out errors on
there. My goof.
--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107
If at first you don't succeed, stick to what you know best so that you
can make enough money to pay someone else to do it for you.