Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Adres typu index.php?funkcja=x&usun=y
Korson
post
Post #1





Grupa: Zarejestrowani
Postów: 45
Pomógł: 0
Dołączył: 26.03.2006

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


Nie wiem co zrobić :/ szukałem gdzie mi tylko przyszło do głowy :/ i nic :-(

Chce aby mój adres był w formie index.php?funkcja=x&usun=, wiem co zrobić aby adres miał forme index.php?funkcja=costam ale nie wiem jak dodać kolejną cześć :/

Będe wdzięczny za szybką pomoc :-)
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
ave
post
Post #2





Grupa: Zarejestrowani
Postów: 117
Pomógł: 2
Dołączył: 29.01.2004
Skąd: Rz-ów

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


tu nie trzeba nic szukac tylko pomyslec
skoro dla index.php?funkcja=x
  1. <?php
  2. $funkcja = isset($_GET['funkcja']) ? $_GET['funkcja'] : "";
  3. ?>

to dla index.php?funkcja=x&drugafunkcja=y
  1. <?php
  2. $funkcja = isset($_GET['funkcja']) ? $_GET['funkcja'] : "";
  3. $drugafunkcja = isset($_GET['drugafunkcja']) ? $_GET['drugafunkcja'] : "";
  4. ?>
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 16.10.2025 - 23:20