mysqli_connect

$conn = mysqli_connect(“localhost”,“root”,“password”,“Videodatabase”);

Never returns control to the next php statement - when I use an incorrect account
I get an error msg, when I use an incorrect database I get an error message,
depending what I use for host I can get an error message

When I do not get an error message, the next php statement

$echo “connection complete” never executs

I have no idea how to debug this

Unless you post the rest of your code, neither do we.

[php]echo ‘Connection complete’;[/php]

That is far from the rest of your code. No one is going to be able to help you.

Sponsor our Newsletter | Privacy Policy | Terms of Service