Hi.
Please do not quote a whole long mail (206 lines) if you are only
referring to one single sentence.
On Mon 2002-06-03 at 20:30:40 -0400, [EMAIL PROTECTED] wrote:
> Philip Olson wrote:
[...]
> > e) While developing, put error_reporting(E_ALL); on top
> >of your script.
[...]
> ps (what d
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
>>>>
>>>>-
Wait a second
Is this a typo or what...
$link_glob = "mysql_connect('$host_glob', '$un_glob', '$pw_glob')";
The qoutes around mysql_connect statement makes
it to a string, nothing else but a STRING !!
So it will never get executed !!
And '$link_glob' is either "a link recource" its just c
From: Bruce Lewis [mailto:[EMAIL PROTECTED]]
> >> Sent: Tuesday, 4 June 2002 7:50
> >> To: [EMAIL PROTECTED]; mysql; php-general
> >> Subject: Re: stupid error, please kick me (and send me a solution)
> >>
> >>
> >> Your missing your closin
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 = "mysql_connec
PROTECTED]>
Sent: Monday, June 03, 2002 5:09 PM
Subject: Re: stupid error, please kick me (and send me a solution)
> [EMAIL PROTECTED] wrote:
> > Hi Jule !!!
> >
> > This can be a socket error.
> > Sometimes when installing PHP/Mysql as binary dist PHP
> > doe
[EMAIL PROTECTED] wrote:
> Hi Jule !!!
>
> This can be a socket error.
> Sometimes when installing PHP/Mysql as binary dist PHP
> does not know where mysql socket is.
>
> The default is (AFAIK) /tmp/mysql.sock
>
> Make a test:
> Try to connect with mysql console with exactly
> the same info as
[EMAIL PROTECTED] wrote:
> Hi Jule !!!
>
> This can be a socket error.
> Sometimes when installing PHP/Mysql as binary dist PHP
> does not know where mysql socket is.
>
> The default is (AFAIK) /tmp/mysql.sock
>
> Make a test:
> Try to connect with mysql console with exactly
> the same info as
Hi Jule !!!
This can be a socket error.
Sometimes when installing PHP/Mysql as binary dist PHP
does not know where mysql socket is.
The default is (AFAIK) /tmp/mysql.sock
Make a test:
Try to connect with mysql console with exactly
the same info as You use in Your PHP script.
shell#> mysql -hlo
;> From: Bruce Lewis [mailto:[EMAIL PROTECTED]]
>> Sent: Tuesday, 4 June 2002 7:50
>> To: [EMAIL PROTECTED]; mysql; php-general
>> Subject: Re: stupid error, please kick me (and send me a solution)
>>
>>
>> Your missing your closing "}" at the end
;> From: Bruce Lewis [mailto:[EMAIL PROTECTED]]
>> Sent: Tuesday, 4 June 2002 7:50
>> To: [EMAIL PROTECTED]; mysql; php-general
>> Subject: Re: stupid error, please kick me (and send me a solution)
>>
>>
>> Your missing your closing "}" at the end
nt: Tuesday, 4 June 2002 7:50
> To: [EMAIL PROTECTED]; mysql; php-general
> Subject: Re: stupid error, please kick me (and send me a solution)
>
>
> Your missing your closing "}" at the end of the else statement.
>
>
> - Original Message -
> From: "
al
Subject: Re: stupid error, please kick me (and send me a solution)
Your missing your closing "}" at the end of the else statement.
- Original Message -
From: "Jule Slootbeek" <[EMAIL PROTECTED]>
To: "mysql" <[EMAIL PROTECTED]>; "php-gene
Your missing your closing "}" at the end of the else statement.
- Original Message -
From: "Jule Slootbeek" <[EMAIL PROTECTED]>
To: "mysql" <[EMAIL PROTECTED]>; "php-general"
<[EMAIL PROTECTED]>
Sent: Monday, June 03, 2002 5:09 PM
Subject: stupid error, please kick me (and send me a solu
14 matches
Mail list logo