hello,
i am using dreameweaver cs5 and im trying to do an assignment and i dont know how to connect with server. i did something but i guess it’s wrong because when i run the file in browser shows me that browser cannot display the webpage. Please help me.
thank you.
Kindly write in detail what exactly you did and what is not working?
Hi Christina,
What server package are you using? Make sure they’re properly setup and running.
But suppose you have configured your server right (e.g. Localhost), your code should be the problem. This is how you connect to a web server with PHP:
[php]
$server=‘localhost’;
$username=‘root’;
$password=’’;
$conn=mysql_connect($server, $username, $password) or die (mysql_error());
[/php]
I hope this helps…