Article View: pl.comp.lang.perl
Article #51996checkbox i petla while
From: cresimpl
Date: Fri, 15 Oct 2010 07:57
Date: Fri, 15 Oct 2010 07:57
24 lines
1817 bytes
1817 bytes
Witam
Mam taki problem:
W miejscu XxX chce wrzucic chechkbox-a jednak gdy wklejam tam kod w
stylu:
<input type="checkbox" name="cb" /> to wyrzuca blad w przegladarce.
Dane sa wczytywane z pliku i rozkladane na tabele. W karzdym wersie
tabeli, chcialbym automatycznie dodawac chceckboxa.
FRAGMENT KODU:
open AA,"baza/users/idu_all.dat";
$scalar = <AA>;
$i = 1;
while ($scalar = <AA>) {
@lista = split(' ', $scalar);
print "<tr><td> XxX </td><td>$i</td><td>@lista[0]</td></tr>";
$i++;
}
print "</table>";
close AA;
Co mam zrobic, zeby obok danych wrzucanych do tabeli z pliku, byl
checkbox, dzieki ktoremu bede mogl edytowac dany wers?
Technical Details
Message-ID:
<d358d609-8f79-456d-b72f-48165d35d60a@i5g2000yqe.googlegroups.com>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!feeder.erje.net!proxad.net!feeder1-2.proxad.net!74.125.46.80.MISMATCH!postnews.google.com!i5g2000yqe.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!feeder.erje.net!proxad.net!feeder1-2.proxad.net!74.125.46.80.MISMATCH!postnews.google.com!i5g2000yqe.googlegroups.com!not-for-mail From: cresimpl <cresimpl@gmail.com> Newsgroups: pl.comp.lang.perl Subject: checkbox i petla while Date: Fri, 15 Oct 2010 00:57:26 -0700 (PDT) Organization: http://groups.google.com Lines: 24 Message-ID: <d358d609-8f79-456d-b72f-48165d35d60a@i5g2000yqe.googlegroups.com> NNTP-Posting-Host: 153.19.253.247 Mime-Version: 1.0 X-Trace: posting.google.com 1287129446 23074 127.0.0.1 (15 Oct 2010 07:57:26 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 15 Oct 2010 07:57:26 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: i5g2000yqe.googlegroups.com; posting-host=153.19.253.247; posting-account=-dFQLQoAAAB9BWCr2i60mcT2BcNgMFYe User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.9.1.13) Gecko/20100916 Iceweasel/3.5.13 (like Firefox/3.5.13),gzip(gfe) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit