![]() Topic awaiting preservation: [PHP] file.php?section=%string ? (Page 1 of 1) |
|
---|---|
Maniac (V) Inmate From: meme-contagion |
![]() How do you make such pages in PHP? For instance.... |
Paranoid (IV) Inmate From: Maryland, USA |
![]() Will you clarify if you want index.php to show news.php or if you want index.php to redirect to news.php? |
Nervous Wreck (II) Inmate From: |
![]() I think he means if he uses the url index.php?section=news how can he read the variable to output the content for that page. code: if ( $_REQUEST['section'] == "news" ) But i'm not sure |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
![]() that (or the php->switch syntax.) and php->include shoul do what you want. |
Maniac (V) Inmate From: meme-contagion |
![]() Thanks all! |
Nervous Wreck (II) Inmate From: |
![]() quote: If you have firefox, here's a cool bookmark, location: http://php.net/%s keyword: php |