Re: [PHP] Cookies are now driving me crazy....

2007-11-28 Thread Jason Pruim
On Nov 28, 2007, at 3:19 PM, Brady Mitchell wrote: On Nov 28, 2007 12:08 PM, Jason Pruim <[EMAIL PROTECTED]> 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 c

Re: [PHP] Cookies are now driving me crazy....

2007-11-28 Thread Daniel Brown
On Nov 28, 2007 3:19 PM, Brady Mitchell <[EMAIL PROTECTED]> wrote: > On Nov 28, 2007 12:08 PM, Jason Pruim <[EMAIL PROTECTED]> 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(

Re: [PHP] Cookies are now driving me crazy....

2007-11-28 Thread Daniel Brown
On Nov 28, 2007 3:08 PM, Jason Pruim <[EMAIL PROTECTED]> wrote: > I have some code which I'll paste at the end of the e-mail that is > throwing an error and I can't seem to find where the error is... Here > is the error: "[Wed Nov 28 15:03:19 2007] [error] PHP Parse error: > syntax error, unexpecte

Re: [PHP] Cookies are now driving me crazy....

2007-11-28 Thread Brady Mitchell
On Nov 28, 2007 12:08 PM, Jason Pruim <[EMAIL PROTECTED]> 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

[PHP] Cookies are now driving me crazy....

2007-11-28 Thread Jason Pruim
I have some code which I'll paste at the end of the e-mail that is throwing an error and I can't seem to find where the error is... Here is the error: "[Wed Nov 28 15:03:19 2007] [error] PHP Parse error: syntax error, unexpected '{' in /Volumes/RAIDer/webserver/Documents/ OLDB/customer/test