Posted By

danhanly on 01/20/11


Tagged

mysql php template


Versions (?)

PHP MySQL Page Template


 / Published in: PHP
 

  1. <?php
  2. /*--------GLOBAL PROCEDURES--------*/
  3. require "configFile.php";
  4. mysql_connect($host,$username,$password) or die
  5. ("Could Not Connect".mysql_error());
  6. mysql_select_db($db) or die ("Could Not Connect".mysql_error());
  7.  
  8. /*--------SPECIFIC PROCEDURES-------*/
  9.  
  10. /*--------CLOSING PROCEDURES-------*/
  11. ?>

Report this snippet  

You need to login to post a comment.