Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- database connection problems?
November 3, 2004, 2:16 am
rate this thread
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
on line 6
the error repeats twice.
Line 6 in my conf.inc.php states:
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:
Thanks a bunch for your time!
Re: database connection problems?
A parse error is not a permissions error, it means you have a typo in your
That's it: you didn't close the single quotes.
-- Álvaro G. Vicario - Burgos, Spain
-- Thank you for not e-mailing me your questions