Thread: PHP Question
View Single Post
Old 01-14-2002, 05:57 AM  
awechen
Confirmed User
 
Join Date: Oct 2001
Location: LA
Posts: 162
works

awechen@office -- /home/awechen > ./php -q
?
for ($i=1; $i<20; $i++)
{ echo "some text $i \n ";
if (!($i % 5)) { echo "line 5\n"; }
}?
some text 1
some text 2
some text 3
some text 4
some text 5
line 5
some text 6
some text 7
some text 8
some text 9
some text 10
line 5
some text 11
some text 12
some text 13
some text 14
some text 15
line 5
some text 16
some text 17
some text 18
some text 19
awechen@office -- /home/awechen >


------------------
ah you have been blessed with 72 virgins?

[This message has been edited by awechen (edited 01-14-2002).]
awechen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote