I am coding the following, Im still very new to php so my coding is a bit rubbish, is there a better way of doing the following, ideally putting into one query or something, as this is the only way I know how to do it :-S . Thanks :-)
<?php
$query = ("SELECT COUNT(receivegasoilmailinglist) FROM hqfjt_chronoforms_data_addupdatelead WHERE receivegasoilmailinglist='yes'");
$result = mysql_query($query) or die(mysql_error());
$row = mysql_fetch_row($result);
echo '<h1> gasoil :';
echo $row[0];
echo '</h1>';
?>
<?php
$query2 = ("SELECT COUNT(receivedervmailinglist) FROM hqfjt_chronoforms_data_addupdatelead WHERE receivedervmailinglist='yes'");
$result2 = mysql_query($query2) or die(mysql_error());
$row2 = mysql_fetch_row($result2);
echo '<h1> derv :';
echo $row2[0];
echo '</h1>';
?>
<?php
$query3 = ("SELECT COUNT(receivekeromailinglist) FROM hqfjt_chronoforms_data_addupdatelead WHERE receivekeromailinglist='yes'");
$result3 = mysql_query($query3) or die(mysql_error());
$row3 = mysql_fetch_row($result3);
echo '<h1> kero :';
echo $row3[0];
echo '</h1>';
?>