Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Problem z bazą i require
Cysiaczek
post 12.02.2005, 13:50:29
Post #1





Grupa: Moderatorzy
Postów: 4 465
Pomógł: 137
Dołączył: 26.03.2004
Skąd: Gorzów Wlkp.




Witam.

Mam prosrty panel administracyjny do strony. Wpisy są w bazie danych. Problem polega na tymm, że wpisałem
  1. <? require ('panel/ankieta/index.php'); ?>


i nie dołączyło mi pliku do strony


pole w bazie jest rodzaju TEXT

Help me


--------------------
To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness;
chaotic, confused, vulnerability, to inform yourself.
Think for yourself. Question authority.
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 3)
popbart
post 12.02.2005, 14:05:08
Post #2





Grupa: Zarejestrowani
Postów: 255
Pomógł: 0
Dołączył: 22.04.2004
Skąd: Żoliborz

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


Pokaż plik includowany.


--------------------
Visual Basic - kto by pomyślał :)
Go to the top of the page
+Quote Post
Cysiaczek
post 12.02.2005, 14:07:33
Post #3





Grupa: Moderatorzy
Postów: 4 465
Pomógł: 137
Dołączył: 26.03.2004
Skąd: Gorzów Wlkp.




Masz, ale ścieżki się nie zgadzają, dlatego jeszcze raz:
plik idzi na stronę główną
  1. <? require ('ankieta2/index.php'); ?>


  1. <tr>
  2. <td><p>Propozycja 1</p></td>
  3. <td><a href="http://demo.phpbb.pl/?style=123" target=_blank></td><td>
  4. <img src="ankieta2/jpg/1.jpg"></a></td>
  5. </tr>
  6.  
  7. <tr><td>
  8. <p>Propozycja 2</p></td>
  9. <td><a href="http://demo.phpbb.pl/?style=201" target=_blank></td><td>
  10. <img src="ankieta2/jpg/2.jpg"></a></td>
  11. </tr>
  12.  
  13. <tr><td>
  14. <p>Bez Zmian</p></td>
  15. <td><a href="http://www.adastra.zgora.pl/forum" target=_blank></td><td>
  16. <img src="ankieta2/jpg/3.jpg"></a></td>
  17. </tr>
  18.  
  19.  
  20. <IFRAME name="akcja1" SRC="" WIDTH=0 HEIGHT=0></IFRAME>
  21. <p align=left>Wybierz skina do naszego Forum klubowego</p>
  22. <form action="ankieta2/main.php" method="post" target="akcja1">
  23. Propozycja 1<input type="radio" name="glos1" value="1"><br>
  24. Propozycja 2<input type="radio" name="glos1" value="2"><br>
  25. Bez zmian<input type="radio" name="glos1" value="3"><br><br>
  26. <input type="submit" value="Głosuj">
  27. <input type="button" value="Zobacz wyniki" onclick="window.open('ankieta2/prezentacja.php','','width=400,height=200,')">
  28. </form>


--------------------
To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness;
chaotic, confused, vulnerability, to inform yourself.
Think for yourself. Question authority.
Go to the top of the page
+Quote Post
popbart
post 12.02.2005, 18:00:23
Post #4





Grupa: Zarejestrowani
Postów: 255
Pomógł: 0
Dołączył: 22.04.2004
Skąd: Żoliborz

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


W bazie masz instrukcję require?
Jeżeli tak to użyj eval" title="Zobacz w manualu PHP" target="_manual


--------------------
Visual Basic - kto by pomyślał :)
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: 19.07.2025 - 16:10