Hi,
I am all new to php/mysql and was wondering if someone might help me
out on a little problem that I am having.
It must be something very simple that I am missing, it seems that I am
having trouble connecting to the database, yet all of my information
seems to be correct - the error is as follows:
Parse error: parse error in
/data/members/free/tripod/uk/t/h/e/theresearcher/htdocs/scripts/conf.inc.php
on line 6
the error repeats twice.
Line 6 in my conf.inc.php states:
$mysql_database ='theresearcher _uk_db';
I have enabled both php and mysql twice just to be sure. Hostname
localhost is correct. Double checked the database name. No password is
required so i left it blank. (should I take the line out alltogether?)
I dont know what to do about the port..lycos didnt say anything about
it so I left it blank. The table prefix I am not sure of either.
Here is the surrounding code:
$mysql_hostname ='localhost';
$mysql_port='';
$mysql_user='th eresearcher';
$mysql_password ='';
$mysql_database ='theresearcher _uk_db';
$mysql_table_pr efix='';
$mysql_pconnect ="NO";
$pages_dir='/data/members/free/tripod/uk/t/h/e/theresearcher/htdocs/';
$pages_url='htt p://members.lycos.c o.uk/theresearcher/pages/';
$scripts_dir='/data/members/free/tripod/uk/t/h/e/theresearcher/htdocs/;
$scripts_url='h ttp://members.lycos.c o.uk/theresearcher/scripts/';
Thanks a bunch for your time!
I am all new to php/mysql and was wondering if someone might help me
out on a little problem that I am having.
It must be something very simple that I am missing, it seems that I am
having trouble connecting to the database, yet all of my information
seems to be correct - the error is as follows:
Parse error: parse error in
/data/members/free/tripod/uk/t/h/e/theresearcher/htdocs/scripts/conf.inc.php
on line 6
the error repeats twice.
Line 6 in my conf.inc.php states:
$mysql_database ='theresearcher _uk_db';
I have enabled both php and mysql twice just to be sure. Hostname
localhost is correct. Double checked the database name. No password is
required so i left it blank. (should I take the line out alltogether?)
I dont know what to do about the port..lycos didnt say anything about
it so I left it blank. The table prefix I am not sure of either.
Here is the surrounding code:
$mysql_hostname ='localhost';
$mysql_port='';
$mysql_user='th eresearcher';
$mysql_password ='';
$mysql_database ='theresearcher _uk_db';
$mysql_table_pr efix='';
$mysql_pconnect ="NO";
$pages_dir='/data/members/free/tripod/uk/t/h/e/theresearcher/htdocs/';
$pages_url='htt p://members.lycos.c o.uk/theresearcher/pages/';
$scripts_dir='/data/members/free/tripod/uk/t/h/e/theresearcher/htdocs/;
$scripts_url='h ttp://members.lycos.c o.uk/theresearcher/scripts/';
Thanks a bunch for your time!
Comment