hello i made a php script and was wondering how i could run the following on the interface of cpanel what it does is it check to see if the domain name exists in my whmcs if so then displays links if not then the account is not owned by me and must be owned by a reseller and will not show!
$whmcsconnect = mysql_connect("localhost","fruity_root","kaydenhill_1992") or die(mysql_error());
mysql_select_db("fruity_billing",$whmcsconnect) or die(mysql_error());
$whmcsquery = "SELECT * COUNT(domain) FROM tblhosting WHERE domain='ryantest.fruitywebhost.com'";
$whmcsresult = mysql_query($whmcsquery) or die(mysql_error());
How do i get this to run?