hi there ....
i need to create a gallery
and the galleries have a banner with a dynamic link
http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=XXXXXX&PA=000000
the XXXXXX is the number of ccbill of the owner of the gallery
and PA is a number of the affiliate member
ok, then
the affiliate member have a list of link page
like this ...
http://sub.domain.com/index.php?refid="member id"
i have a database and i have problems with the mysql
mysql_connect($server, $db_user, $db_pass) or die ("Database CONNECT Error (line 17)");
$ccbill = mysql_db_query($database, "select * from affiliates where refid = '$ref'");
'cause they not show me the ccbill on the link
"http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=XXXXXX&PA=<?php print "$ccbill"; ?>&HTML=http://www.domain.com
i dont know whats the error here ...
dam