Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Błąd zmiennych
dexi
post
Post #1





Grupa: Zarejestrowani
Postów: 4
Pomógł: 0
Dołączył: 23.03.2012

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


Jestem zielony w php. Skrypt jest mi potrzebny do strony niestety ta wyrzuca błędy:
Kod
Notice: Use of undefined constant id - assumed 'id' in

Notice: Undefined index: id in
Notice: Use of undefined constant id - assumed 'id' in
Notice: Undefined index: id in
Notice: Use of undefined constant id2 - assumed 'id2' in
Notice: Undefined index: id2 in

Notice: Use of undefined constant id2 - assumed 'id2' in

Notice: Undefined index: id2 in


Fragment felernego kodu:

  1. if(($_GET[id]<=$uslug && $_GET[id]>0) || $_GET[id2]<=$uslug+$uslug2 && $_GET[id2]>0)
  2. {
  3. if($_GET[id])
  4. $ide=mysql_real_escape_string(trim($_GET['id']));
  5. else
  6. $ide=mysql_real_escape_string(trim($_GET['id2']));



Pozdrawiam i dziękuję za każdą pomoc.
Go to the top of the page
+Quote Post

Posty w temacie
- dexi   Błąd zmiennych   23.03.2012, 19:01:19
- - mortus   Indeksy/klucze tablic asocjacyjnych powinieneś obe...   23.03.2012, 19:32:24
- - Spawnm   Forum nie parser. Naucz się podstaw...   23.03.2012, 19:32:56


Closed TopicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 20.08.2025 - 06:36