Sorry if this is the wrong place to post this. But I am new to php in many ways. I recently went from the a hosting reseller to being a full blown host with my own servers. I found a program called cPanel Auto Account Creator, but cannot get it to work. I get this as an error: No database selected Below is the a code as it reads.
<?PHP
####################################################
Cpanel Auto Account Creator v3.0 By Jnshosts.com
####################################################
#######################################
Enter Your Database Connection Info
#######################################
$host =
"localhost" ;
$user =
"fastlane_account" ;
$pass =
"account" ;
$database =
"fastlaneaccount" ;
#######################################
Choose An Admin Username & Password
#######################################
$aun =
"fastlane";
$apw =
"connor07";
#######################################
Edit Nothing Below This Line
#######################################
$con=mysql_connect("$host","$user","$pass")
or die("Connect Error: ".mysql_error());
$db="$database";
mysql_select_db($db, $con);
?>
Thanks In Advance For Your Help,
Justin Lee