Article View: pl.comp.lang.php
Article #230Pytanie o url cd...
From: fks
Date: Sun, 19 Aug 2001 14:32
Date: Sun, 19 Aug 2001 14:32
32 lines
1456 bytes
1456 bytes
Witam ponownie :)
Mam juz kawalek kodu, ktory dziala:
<?
if(!isset($dzial)){
include("index.html");
} else {
if($id==0){
include("index.html");
}else if($id==1){
include("dzial1.html");
}else if($id==2){
include("dzial2.html");
}else if($id==3){
include("dzial3.html");
}else if($id==4){
include("dzial4.html");
}else if($id==5){
include("dzial5.html");
}else{
echo "Brak treΕci o podanym ID";
}
}
?>
Ale nie wiem jak w to womponowac parametr &sekcja
Probowalem najrozniejszych sposobow ale nie wychodzilo.
Dzieki za poprzednie wskazowki
Pozdrawiam
Adam
Technical Details
Message-ID:
<9loim6$g3r$1@news.tpi.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!pcmedia.com.pl!news.man.szczecin.pl!news.task.gda.pl!news.tpi.pl!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!pcmedia.com.pl!news.man.szczecin.pl!news.task.gda.pl!news.tpi.pl!not-for-mail From: "fks" <fks@fks.pl> Newsgroups: pl.comp.lang.php Subject: Pytanie o url cd... Date: Sun, 19 Aug 2001 16:32:44 +0200 Organization: tp.internet - http://www.tpi.pl Lines: 34 Message-ID: <9loim6$g3r$1@news.tpi.pl> NNTP-Posting-Host: pb75.torun.sdi.tpnet.pl X-Trace: news.tpi.pl 998231558 16507 213.25.215.75 (19 Aug 2001 14:32:38 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: 19 Aug 2001 14:32:38 GMT X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit