[PHP] Re: stupid error, please kick me (and send me a solution)

2002-06-03 Thread Jason Soza
If this is truly the code you're using, you're missing the closing curly-brace after the else statement. I.e. this: } else { echo font size=+1Your Information has successfully been entered into the database!/fontbr; Should be this: } else { echo font size=+1Your Information has

Re: [PHP] Re: stupid error, please kick me (and send me a solution)

2002-06-03 Thread leco
Do not use double kotes here. $link_glob = \mysql_connect(\'$host_glob\', \'$un_glob\', \'$pw_glob\')\; mysql_connect is a function. Regards, Laercio Fortes Citando Jason Soza [EMAIL PROTECTED]: If this is truly the code you\'re using, you\'re missing the closing curly-brace after the

Re: [PHP] Re: stupid error, please kick me (and send me a solution)

2002-06-03 Thread Jule Slootbeek
[EMAIL PROTECTED] wrote: Do not use double kotes here. $link_glob = \mysql_connect(\'$host_glob\', \'$un_glob\', \'$pw_glob\')\; mysql_connect is a function. Regards, Laercio Fortes Citando Jason Soza [EMAIL PROTECTED]: If this is truly the code you\'re using, you\'re

[PHP] Re: stupid error, please kick me (and send me a solution)

2002-06-03 Thread Jule Slootbeek
G r e g L a w r i e wrote: It would also appear you are missing a closing ) at the end of the '$query=...' line. You have two opening backets and only one closing. Greg -Original Message- From: Bruce Lewis [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 4 June 2002 7:50 To: [EMAIL

[PHP] RE: stupid error, please kick me (and send me a solution)

2002-06-03 Thread G r e g L a w r i e
It would also appear you are missing a closing ) at the end of the '$query=...' line. You have two opening backets and only one closing. Greg -Original Message- From: Bruce Lewis [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 4 June 2002 7:50 To: [EMAIL PROTECTED]; mysql; php-general

[PHP] Re: stupid error, please kick me (and send me a solution)

2002-06-03 Thread Jule Slootbeek
Jule Slootbeek wrote: G r e g L a w r i e wrote: It would also appear you are missing a closing ) at the end of the '$query=...' line. You have two opening backets and only one closing. Greg -Original Message- From: Bruce Lewis [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 4 June

[PHP] Re: stupid error, please kick me (and send me a solution)

2002-06-03 Thread Paul DuBois
At 18:09 -0400 6/3/02, Jule Slootbeek wrote: Hey guys, i'm getting this error with the following sql script using php: --error-- Warning: Supplied argument is not a valid MySQL-Link resource in /var/www/phpquiz/register_user.php on line 12 --error-- --script-- $link_glob =

Re: [PHP] Re: stupid error, please kick me (and send me a solution)

2002-06-03 Thread Philip Olson
Are you sure this is the correct file? This is full of syntax errors, you should be getting parse errors. A few tips: a) Don't post to multiple lists. This is a PHP issue, not MySQL. Hopefully this will end the mysql list thread. b) Don't use mysql_db_query() as it is