🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #1233

Re: script php

#1233
From: Jos� Miguel Santib��ez
Date: Fri, 01 Dec 2006 02:15
27 lines
1720 bytes
En el cap�tulo anterior (news:ekni23$sgs$1@news.nivel5.cl), "RobertoCL"
<rcl2020NOSPAM@hotmail.com> dijo: 

> A modo de ejemplo tengo
> 
> for ($i=0; $i<100;$++){
> if ($i % 2) echo "interlinea<br/>";
> }
> 
> Eso imprime a la segunda iteraci�n de $i, como hago para que imprima
> cada 20 iteraciones?
> 
> --
> RCL 
> 
 
 
 for ($i=0; $i<100;$++){
 if ($i % 20) echo "interlinea<br/>";
 }



-- 
Apoye a la campa�a de alfabetizaci�n y  |       Jose M. Santiba�ez A.
ordenaci�n de las news, cada post en su |          <jms@nivel5.cl>
lugar y el lugar exacto para cada post  |        <http://caos.cl/jms>
Technical Details
Message-ID: <Xns988BEA82E4EF7jmsnews@200.27.221.71>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!news.vcd.cl!not-for-mail!not-for-mail
References: <ekni23$sgs$1@news.nivel5.cl>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,fc3b4a8aa3b8df6e
X-Google-Attributes: gid1593cb,public
X-Google-Language: SPANISH,ASCII
Newsgroups: chile.comp.programacion
Subject: Re: script php
From: "Jos� Miguel Santib��ez" <jms.nospam@nivel5.cl>
References: <ekni23$sgs$1@news.nivel5.cl>
Organization: Caos Consultores
Message-ID: <Xns988BEA82E4EF7jmsnews@200.27.221.71>
User-Agent: Xnews/5.04.25
X-Face: +|NgjgFM{<rs%\Q|vUu16]a6,}?MJTA<!PEEI+x&Gw-Gyq+?$}fvo+.(,-r;)~Qzn)#{{nxU,OT?w^s<7m4ckCJ*L$c#I)yHL7b)GdU*#l
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 28-39-246-201.adsl.terra.cl
X-Original-NNTP-Posting-Host: 28-39-246-201.adsl.terra.cl
Date: 30 Nov 2006 22:15:22 -0400
X-Trace: news.vcd.cl!not-for-mail 1164935722 201.246.39.28 (30 Nov 2006 22:15:22 -0400)
X-Original-Trace: 30 Nov 2006 22:15:22 -0400, 28-39-246-201.adsl.terra.cl
Lines: 27
X-Authenticated-User: jms
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!news.vcd.cl!not-for-mail!not-for-mail