Re: [PHP] mysql_connect() error

2005-09-03 Thread Cristea Adrian
Are you sure that is the 5-th line of your script? please give us first 1-10 lines (remove confidential data) for debuging... On 9/3/05, php general help wrote: > Hi > > guys hope you can all help me here. im in the middle of making a script ( im > still quite new), anyway im getting this error

[PHP] mysql_connect() error

2005-09-03 Thread php general help
Hi guys hope you can all help me here. im in the middle of making a script ( im still quite new), anyway im getting this error Parse error: syntax error, unexpected T_STRING in c:\wamp\www\cms\header.inc on line 5 and on line 5 is mysql_connect($dbhost, $dbusername, $dbpassword) , i know its the m

[PHP] mysql_connect() error

2005-09-03 Thread php general help
Hi guys hope you can all help me here. im in the middle of making a script ( im still quite new), anyway im getting this error Parse error: syntax error, unexpected T_STRING in c:\wamp\www\cms\header.inc on line 5 and on line 5 is mysql_connect($dbhost, $dbusername, $dbpassword) , i know its th

RE: [PHP] mysql_connect error

2004-03-22 Thread php-general
T, You also need to load the php_mysql rpm (Assuming you loaded via rpm) Till We Meet Again... Clifford W. Hansen Operations Support Developer Aspivia (Pty) Ltd. +27 (0) 11 259-1150 (Switchboard) +27 (0) 11 259-1019 (Fax) +27 (0) 83 761-0240 (Mobile) [EMAIL PROTECTED] (EMail) http://chansen.asp

[PHP] mysql_connect error

2004-03-22 Thread T UmaShankari
Hello, Here i am facing one problem. i have installed the following in my pc in linux platform. i am getting this error when try to execute file. Can any one tell me why this error due to ? Version : mysql-3.32.41-1 php-4.2.2-17 apache httpd-2.0.40-21 Error : Call to undefined function mysq

Re: [PHP] mysql_connect error

2003-08-25 Thread murugesan
,db_pass); if($h) mysql_select_db (db_name) or die ("could not select db");; --- -murugesan - Original Message - From: "Mjec" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 25, 2003 7:53 AM Subject: Re: [PHP]

Re: [PHP] mysql_connect error

2003-08-25 Thread Mjec
on 25/08/2003 12:11 PM, John W. Holmes at [EMAIL PROTECTED] wrote: > Mjec wrote: > >> Hi, >> >> again this line is causing problems: >> >> $h = >> mysql_connect('localhost',constant("mysql_user"),constant("mysql_password")) >> ; >> >> Aparantly a parse error. Idaes? > > Is there a reason yo

Re: [PHP] mysql_connect error

2003-08-25 Thread John W. Holmes
Mjec wrote: Hi, again this line is causing problems: $h = mysql_connect('localhost',constant("mysql_user"),constant("mysql_password")) ; Aparantly a parse error. Idaes? Is there a reason you're using constant()?? Try: $h = mysql_connect('localhost', mysql_user, mysql_password); One thing to

[PHP] mysql_connect error

2003-08-25 Thread Mjec
Hi, again this line is causing problems: $h = mysql_connect('localhost',constant("mysql_user"),constant("mysql_password")) ; Aparantly a parse error. Idaes? Thanks, Mjec -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql_connect error

2003-01-20 Thread Chris Shiflett
--- Tom Ray <[EMAIL PROTECTED]> wrote: > Can someone please tell me why I'm getting this error: > > *Fatal error*: Call to undefined function: > mysql_connect() in > */webs/tom/www.bohabcentral.com/www/bohabs/auth.php* on > line *4 > > *mysql_connect was working a week or so ago, and I > haven't

[PHP] mysql_connect error

2003-01-20 Thread Tom Ray
Can someone please tell me why I'm getting this error: *Fatal error*: Call to undefined function: mysql_connect() in */webs/tom/www.bohabcentral.com/www/bohabs/auth.php* on line *4 *mysql_connect was working a week or so ago, and I haven't made any changes to the servers configuration. If som

[PHP] mysql_connect() error

2001-04-28 Thread Siim Einfeldt
I get this kind of error when trying to connect to mysql - http://myhost/~myname/baas.php What migth be the problem? The error exists on all accounts. PS: Drop a line to my private email as well