Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Notice: Undefined index: pl -> switch($_GET['pl']){
orgis
post
Post #1





Grupa: Zarejestrowani
Postów: 6
Pomógł: 0
Dołączył: 19.03.2014

Ostrzeżenie: (0%)
-----


Hej nie wiem w czym jest problem . potrzebuję zdefiniować linki
Zrobiłem sobie coś takiego

  1. <?php
  2. /*LINKI DO PL*/
  3. switch($_GET['pl']){
  4. case '' : include 'page/pl/home.html'; break;
  5. case '2': include 'page/pl/fair.html'; break;
  6. case '3': include 'page/pl/sp_prod.html'; break;
  7. case '4': include 'page/pl/nowa_siedziba_p.html'; break;
  8. case '5': include 'page/pl/targi.html'; break;
  9. case '6': include 'page/pl/nowosc.htm'; break;
  10. case '7': include 'page/pl/down.html'; break;
  11. }
  12. ?>


A na stronie mam error mimo iż zawartość strony się wyświetla
„Notice: Undefined index: pl in C:\wamp\www\sesja\function.php on line 3”

Czy może koś mi powiedzieć o co chodzi ?
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 03:58