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
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
[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
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
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
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
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 =
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
8 matches
Mail list logo