:o I know this is a simple problem but can i hell see the answer
i have a var $category which holds an array of 3 items, all im trying to do is echo all 3 elements of the array ..
$categorys_result = 2;
while ($categorys_result >0) {
echo "$categorys[$categorys_result]<br>";
$categorys_result--;
}
all i get are 2 of the 3 elements i just cant get the 3rd, im assuming this is because the $categorys_result will == 0 so it doesnt display element 0, could someone tell me how its done please
Many thanks