Location: PHPKode > scripts > PHP or Java Class Code Generator > php-or-java-class-code-generator/include/connection.php
<?php
$cid = mysql_connect(DB_HOST,DB_USR,DB_PWD) or die ("I cannot open a connection to database. ");
mysql_select_db(DB_NAME) or die("I cannot select the database!");
?>
Return current item: PHP or Java Class Code Generator