define mysql db constants


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?PHP
  2.  
  3. //Define constants
  4.  
  5. define("DB_SERVER", "localhost");
  6. define("DB_USER", "root");
  7. define("DB_PASS", "root");
  8. define("DB_NAME", "testbooks");
  9.  
  10. ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.