Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Closed TopicStart new topic
> Problem z zapytaniem
gizm00
post
Post #1





Grupa: Zarejestrowani
Postów: 2
Pomógł: 0
Dołączył: 28.11.2007

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


mam nastepujacy problem.

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in c:\webserver\apache\Apache\htdocs\funkcje_forum.php on line 55

wiersz powodujacy blad:

$tematy=$lacz->query("select * from fora where dzial='$fora['nazwa']'");

byl bym bardzo wdzieczny za pomoc
Go to the top of the page
+Quote Post
phpion
post
Post #2





Grupa: Moderatorzy
Postów: 6 072
Pomógł: 861
Dołączył: 10.12.2003
Skąd: Dąbrowa Górnicza




  1. <?php
  2. $tematy=$lacz->query('select * from fora where dzial="'.$fora['nazwa'].'"');
  3. ?>
Go to the top of the page
+Quote Post
batman
post
Post #3





Grupa: Moderatorzy
Postów: 2 921
Pomógł: 269
Dołączył: 11.08.2005
Skąd: 127.0.0.1




  1. <?php
  2. $tematy=$lacz->query("select * from fora where dzial='".$fora['nazwa']."'");
  3. ?>


--------------------
I would love to change the world, but they won't give me the source code.
My software never has bugs. It just develops random features.
Go to the top of the page
+Quote Post
gizm00
post
Post #4





Grupa: Zarejestrowani
Postów: 2
Pomógł: 0
Dołączył: 28.11.2007

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


dzieki bardzo. neispodziewalem sie tak szybkiej odpowiedzi smile.gif
Go to the top of the page
+Quote Post
Cysiaczek
post
Post #5





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




@phpion.com && @batman
Po co robicie za debugger? ;p

@gizm00 - Z takimi błędami nie powinieneś przychodzić na forum - od tego jest edytor z kolorowaniem składni i manual, a w ostateczności yahoo

Zamykam.

P.S Lojalnie uprzedzam, że jak jeszcze gdzieś zobaczę problem z parse error, to wpadnę w pospolity szał.


--------------------
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
itsme
post
Post #6





Grupa: Zarząd
Postów: 1 512
Pomógł: 2
Dołączył: 22.04.2002
Skąd: Koszalin




jak mowię do żony to ona patrzy na mnie i parse error ... teraz możesz szalec ;-) hihihihi


--------------------
brak sygnaturki rowniez jest sygnaturką
Go to the top of the page
+Quote Post

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: 19.08.2025 - 19:58