08-19-2009, 02:43 PM
|
#20 (permalink)
|
|
Moderateur
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
|
With regards to challenge 4, I'm a little fuzzy on what actually counts as a line so I threw everything onto one long one!
PHP Code:
printf("<ul>\n\t<li>".implode("</li>\n\t<li>", array_merge(range(0,100),range(100,0)))."</li>\n</ul>\n");
Edit: can't echo, use printf instead.
Last edited by Salathe : 08-19-2009 at 03:12 PM.
|
|
|
|