Posted By

coprolit on 07/12/13


Tagged

php


Versions (?)

config setup


 / Published in: PHP
 

Config setup code for config.php

  1. <?
  2.  
  3. $user="root";
  4. $password="xxxx";
  5. $database="database_name";
  6.  
  7. mysql_pconnect("localhost", $user, $password) or die("Der kan ikke skabes forbindelse til serveren");
  8. mysql_select_db($database) or die("Der kan ikke skabes forbindelse til databasen");
  9.  
  10. ?>

Report this snippet  

You need to login to post a comment.