The MySQL environment configuration should be no problem. The files are also placed in the Appserv www directory.
But when accessing the file with a browser, the browser is blank. I tried it with IE and Firefox. What's wrong with this? The code is as follows.
Reply content:
The MySQL environment configuration should be no problem. The files are also placed in the Appserv www directory.
But when accessing the file with a browser, the browser is blank. I tried it with IE and Firefox. What's wrong with this? The code is as follows.
Page blank This description is too weak. Cause this is a lot of reasons to go, first find a way to locate the mistake it. Webserver, MySQL, php even directory permissions, file names are possible--
It is recommended that you first add an else echo "Connection failed"; - -
In addition, the Mysql_* class function has long been discarded, if the LZ is followed by what tutorial what what to go, seize the change.
1. Look at the browser's network return status code is how much
2. Also check your server logs
PS: page blank, your server is not open?
Yes, upstairs is right, first look at the status code returned by HTTP, to see if it is a syntax error (500), or other.
PHP display_errors is off.