Cant connect to database!
Hi!
I tried to connect to my Mysql database using this code:
Quote:<?php
$conn = mysql_connect("localhost", "root", "not_my_password");
?>
Then i get this in my browser:
Quote: Parse error: parse error in D:\Program\Apache Group\Apache2\htdocs\script9.php on line 2
Hope somone can help me. Probably its rellay easy just i dont know it.
Cheers
Ben
Abhishek Reddy posted this at 22:45 — 4th November 2004.
He has: 3,348 posts
Joined: Jul 2001
What's above and below it?
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.