title: Check for database connection, otherwise display message
body: <p>I would like to check if the website can connect to mySQL. If not, I would like to display an error saying that the user should try to access the page again in a few minutes...</p>
  
  <p>I really do not know how to do this ;)</p>
  
  <p>Any help would be greatly appreciated!</p>
  
  <pre><code>string mysql_error ([ resource $link_identifier ] )
  </code></pre>
  
  <p>But how do I use this?</p>
  
  <p>This just gives me the error, but I want the message to display with any error.</p>
  
  <p>Thanks</p>