![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 17 Pomógł: 0 Dołączył: 25.12.2008 Ostrzeżenie: (0%) ![]() ![]() |
Witam dalej mam ten problem, otóż:
Chce zeby jak wejde na stronę lala.pl, zeby mi czytało lala.pl/index.php?id=news, a nie lala.pl/index.php Jak to zrobić kiedyś mi jeden user podał żeby wkleił to w head: <?php header("Location: index.php?id=news"); ?> ale to nie działa. Proszę o pomoc. |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 17 Pomógł: 0 Dołączył: 25.12.2008 Ostrzeżenie: (0%) ![]() ![]() |
<?php
if($_GET['id']=="news"){ include("dane/news.html"); } if($_GET['id']=="programy"){ include("dane/programy.html"); } if($_GET['id']=="ksiazki"){ include("dane/ksiazki.html"); } ?> mam cos takiego tam gdzie chce zeby otweiraly sie zakladaki co nie tam gdzie news. Chodzi mi o to ze jak wejde na strone to ona jest pusta bez newsow, dlatego chce zeby podać mi kod ze jak wejde na strone czytało mi odrazu news, czyli to: <?php if($_GET['id']=="galeria"){ include("dane/galeria.html"); } Ten post edytował Bladeq123 12.01.2009, 17:43:58 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 3.10.2025 - 04:26 |