advanced code snippet search
sebus on 10/13/08
mysql php
10/13/08 10:59am
define ("SERVEUR", "localhost");define ("IDENTIFIANT_DB", "xxx");define ("PASS_DB", "xxx");define ("BASE", "xxx");$connexion = @mysql_connect(SERVEUR, IDENTIFIANT_DB, PASS_DB);if (!$connexion){print 'Erreur de connexion au serveur MySQL !';}else{mysql_select_db (BASE);}
Report this snippet Tweet
Comment:
You need to login to post a comment.