Access to database:

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

Access to database:

Postby Funky » 25. October 2004 11:46

Windows XP Pro Sp2:
XAMPP: latest version
Firewall: Norton internet Security.
On xampp startup - (Norton IS) options: mysql to listen for connection from other computers (block).

@ $db = mysql_pconnect 'localhost', 'root', '');

error message:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\Program Files\apachefriends\xampp\htdocs\xampp\reto\CSG_A2\test_connection.php on line 18

thank you (can understand german)
Funky
 
Posts: 2
Joined: 25. October 2004 11:25

Re: Access to database:

Postby Kristian Marcroft » 25. October 2004 12:22

Funky wrote:
@ $db = mysql_pconnect 'localhost', 'root', '');


Hi,

whats this?
You close the brackets but you don't open them?

try this:
$db=mysql_pconnect('localhost', 'root', '');

So long
KriS
User avatar
Kristian Marcroft
AF Moderator
 
Posts: 2962
Joined: 03. January 2003 12:08
Location: Diedorf

Postby Funky » 25. October 2004 13:30

Thanks ... that was a little cut N paste error. I had other errors in my php script. All good now. I was ent sure about the DB access syntax for XAMPP.

Thanks again for your quick reply.

XAMPP is very cool !!! :lol:
Funky
 
Posts: 2
Joined: 25. October 2004 11:25


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 57 guests