httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ras...@lerdorf.on.ca (Rasmus Lerdorf)
Subject Re: ASP support in Apache
Date Fri, 11 Jul 1997 03:58:00 GMT
> p.s.  For those unfamilar with ASP, here's a page which outputs ten lines
> in a ul list:
>     <html>
>     <body>
>     <ul>
>     <% For Counter = 1 to 10 %>
>     <li>This is line number <%= Counter %>
>     <% Next %>
>     </ul>
>     </body>
>     </html>
> 
> Looks familiar, eh?

Same thing in mod_php:

   <html>
   <body>
   <ul>
   <? $Counter=1; while($Counter <= 10)>
   <li>This is line number <?echo $Counter>
   <? endwhile>
   </ul>
   </body>
   </html>
     
-Rasmus


Mime
View raw message