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

2002-06-03 Thread Benjamin Pflugmann
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

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

2002-06-03 Thread Jule Slootbeek
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 >>>> >>>>-

RE: Re: stupid error, please kick me (and send me a solution)

2002-06-03 Thread domi
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

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

2002-06-03 Thread Philip Olson
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

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 = "mysql_connec

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

2002-06-03 Thread David M. Peak
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

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

2002-06-03 Thread Jule Slootbeek
[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

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

2002-06-03 Thread Jule Slootbeek
[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

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

2002-06-03 Thread domi
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

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

2002-06-03 Thread Jule Slootbeek
;> 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

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

2002-06-03 Thread Jule Slootbeek
;> 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

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

2002-06-03 Thread Jule Slootbeek
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: "

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
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

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

2002-06-03 Thread Bruce Lewis
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