I need to check whether the website can connect to MySQL. If not connecting, I want to display an error stating that the user should try to access the page again in some minutes...
I don't know how to do it.
Any kind of help would be appreciated!
string mysql_error ([ resource $link_identifier ] )
But how do I use this?
This simply gives me the error, however, I want to display the message with any error.