๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #1232

script php

#1232
From: RobertoCL
Date: Fri, 01 Dec 2006 01:22
11 lines
1061 bytes
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 
Technical Details
Message-ID: <ekni23$sgs$1@news.nivel5.cl>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,fc3b4a8aa3b8df6e,start
X-Google-Attributes: gid1593cb,public
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!not-for-mail
From: "RobertoCL" <rcl2020NOSPAM@hotmail.com>
Newsgroups: chile.comp.programacion
Subject: script php
Date: Thu, 30 Nov 2006 22:22:20 -0300
Organization: Varios
Lines: 13
Message-ID: <ekni23$sgs$1@news.nivel5.cl>
NNTP-Posting-Host: pc-5-28-104-200.cm.vtr.net
X-Trace: news.nivel5.cl 1164921731 29212 200.104.28.5 (30 Nov 2006 21:22:11 GMT)
X-Complaints-To: news@news.nivel5.cl
NNTP-Posting-Date: Thu, 30 Nov 2006 21:22:11 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Original