what should i do on this case
i have a database with the ccbill of the members and i want to put on the link of a banner and i'm using on the code :
mysql_connect($server, $db_user, $db_pass) or die ("Database CONNECT Error (line XX)");
$ccbill = mysql_db_query($database, "SELECT ccbill FROM affiliates WHERE refid = '$ref'");
is correct that i use mysql_db_query, or mysql_query ???