database connection problems?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
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 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:
$pages_url=' /';
$scripts_url=' /';

Thanks a bunch for your time!

Re: database connection problems?

*** researcher wrote/escribió (2 Nov 2004 20:16:31 -0800):
Quoted text here. Click to load it

A parse error is not a permissions error, it means you have a typo in your

Quoted text here. Click to load it

That's it: you didn't close the single quotes.

-- Álvaro G. Vicario - Burgos, Spain
-- Thank you for not e-mailing me your questions

Re: database connection problems?

Thanks again!

Quoted text here. Click to load it

Site Timeline