heres what i have so far
CODE
$cartel = mysql_query("SELECT drugringID FROM drugringwars WHERE drugringID = {$declarer['warDECLARER']} ");
while ($ids = mysql_fetch_array($cartel))
{
echo "cartel {$ids['drugringID']} has been charged for being at war with another cartel";
$cost = 1000000 * (rand(1,10));
mysql_query("UPDATE drugrings SET drugringdough=drugringdough-{$cost} WHERE drugringID={$ids['drugringID']} ");
echo "</br>";
}
and these few things may help a bit when trying to help me...
the stuff in the while {} works fine just cant get an id from the db so heres a few things
drugrings:

drugringwars:


