Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 25th, 2011  |  syntax: None  |  size: 0.24 KB  |  hits: 303  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. $connect = mysql_connect(HOST, USER, PASS);
  2. if(!$connect) {
  3.   echo 'Server error. Please try again sometime. CON';
  4. }
  5. $select_db = mysql_select_db(DATABASE);
  6. if(!$select_db) {
  7.   echo 'Server error. Please try again sometime. DB';
  8. }