mam taki kod
<?php $a = 0; $b = 0; while($a < 8){ while($b < 5){ $b++; } $a++; $b = 0; } ?>
jak wykonać zerowanie $a gdy kod wyglada tak:
<?php while($a = $cos->fetch_object()){ while($b = $cos2->fetch_object()){ } } ?>
<?php $a = 0; $b = 0; while($a < 8){ while($b < 5){ $b++; } $a++; $b = 0; } ?>
<?php while($a = $cos->fetch_object()){ while($b = $cos2->fetch_object()){ } } ?>
<?php $offers_sql = "select * from employer_offers where $countries->id and province = '$provinces->id' and category = '$categories->id'"; ?>