🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #1237

Re: script php

#1237
From: Jos� Miguel Santib��ez
Date: Fri, 01 Dec 2006 05:53
17 lines
1810 bytes
En el cap�tulo anterior (news:eknun6$jk$1@news.nivel5.cl), "Hector Vergara" 
<hvergara@quitaelguion.g-mail.com> dijo:

> la solucion de JMS es mucho mas elegante (agregando el == 0 al modulo)

siempre me queda la duda de que es m�s elegante, si agregar el == 0 o:
for ($i=0; $i<100;$++){
  if (!($i % 20)) echo "interlinea<br/>";
}

Y la segunda duda es si son necesarios tantos par�ntesis...


-- 
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: <Xns988C1B5FA879Fjmsnews@200.27.221.71>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.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> <Xns988BEA82E4EF7jmsnews@200.27.221.71> <eknmh4$tua$1@news.nivel5.cl> <eknun6$jk$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> <Xns988BEA82E4EF7jmsnews@200.27.221.71> <eknmh4$tua$1@news.nivel5.cl> <eknun6$jk$1@news.nivel5.cl>
Organization: Caos Consultores
Message-ID: <Xns988C1B5FA879Fjmsnews@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: 1 Dec 2006 01:53:38 -0400
X-Trace: news.vcd.cl!not-for-mail 1164948818 201.246.39.28 (1 Dec 2006 01:53:38 -0400)
X-Original-Trace: 1 Dec 2006 01:53:38 -0400, 28-39-246-201.adsl.terra.cl
Lines: 17
X-Authenticated-User: jms
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!news.vcd.cl!not-for-mail!not-for-mail