Jump to content

<?=show_counters($aset[counters]);?>


brown2005

Recommended Posts

$f = "on";

function count_info($what)
{
if($what == "domains")
{
$q11 = "SELECT COUNT(domains_id) FROM domain_trader_domains WHERE domains_status = 'Sale';";
}

$r11 = mysql_query($q11) or die(mysql_error());
$a11 = mysql_fetch_array($r11);

return $a11[0];
}

function show_counters($f)
{
global $dir;

$domains = count_info("domains");
$c = " <tr>
<td class='main_text' colspan='2'>We currently have <font class='search_count'>$domains</font> domains listed.</td>
</tr>\n\n";

return $c;
}
Link to comment
https://forums.phpfreaks.com/topic/8465--/#findComment-30971
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.