Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [PHP] include
-taurfen-
post 15.06.2008, 15:54:04
Post #1





Goście







Witam wszystkich,

mam pewien problem z include...

posiadam coś takiego:
  1. <?php
  2. include('wm.php?id=1')
  3. ?>


jednak to nie działa....

czy jest możliwość, żeby includeowac plik wraz ze zmienną ?

pozdrawiam,
Go to the top of the page
+Quote Post
Wieczny
post 15.06.2008, 15:58:34
Post #2





Grupa: Zarejestrowani
Postów: 191
Pomógł: 1
Dołączył: 21.03.2007

Ostrzeżenie: (60%)
XXX--


Z tego co ja wiem to NIE smile.gif
Go to the top of the page
+Quote Post
sobstel
post 15.06.2008, 16:13:51
Post #3





Grupa: Zarejestrowani
Postów: 853
Pomógł: 25
Dołączył: 27.08.2003
Skąd: Katowice

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


w ten sposób nie, ale tak można :

  1. <?php
  2. $id = 1;
  3. include('wm.php')
  4. ?>


--------------------
"If debugging is the process of removing bugs, then programming must be the process of putting them in..."
sobstel.org
Go to the top of the page
+Quote Post
-taurfen-
post 15.06.2008, 16:40:22
Post #4





Goście







wielkie dzięki, działa
Go to the top of the page
+Quote Post

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 Wersja Lo-Fi Aktualny czas: 13.07.2025 - 11:00