Dividere i en sql kommando
hej. jeg har flg. kode:--------------------------------------------------------
mysql_connect("$host", "$loginname", "$password") or die (mysql_error());
mysql_select_db("$database") or die (mysql_error());
$henthits = mysql_query("SELECT SUM(hits) AS hits_ialt FROM downlist ");
$hentdown = mysql_query("SELECT SUM(hits) AS down_ialt FROM cshits") or die (mysql_error());
$hits = mysql_fetch_array($henthits / $hentdown);
echo$hits['hits_ialt'];
--------------------------------------------------------
Hvordan for jeg divideret $hentdown med £henthits??
