Menu
Hi!
I apologise for keeping on making the comparison to javascript but i think it would be easier to explain this way.
For instance in javascript you can do this:
[code]
for(i=0;i<12;i++){
alert(i)
}
and it will cycle through the code alerting the value of i. what would be the way to this in php. e.g:
[code=php]
for ($i = 1; $i <= 10; $i++) {
//is there an alert or would this have to do
echo $i;
}
Thank-you