Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [Smarty] display
Wieczny
post 23.06.2008, 17:45:29
Post #1





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

Ostrzeżenie: (60%)
XXX--


Witam problem to błąd

Parse error: syntax error, unexpected T_VARIABLE in /var/www/sites/yoyo.pl/s/t/studiogodi/news.php on line 17


kod

  1. <?php
  2. $result = mysql_query("SELECT id, title, news, date, user, level
  3. FROM wpp_news 
  4. WHERE level='0'");
  5.  
  6.  
  7.  $row = mysql_fetch_array($result)
  8.  
  9.  $smarty -> display('news.tpl'); - 17 linia
  10. ?>


Reszta niezbędnych do smarty plików jest w index.php gdzie każdy plik pobiera sobie niezbędne funkcje i klasy smile.gif
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 4)
likedat
post 23.06.2008, 17:48:47
Post #2





Grupa: Zarejestrowani
Postów: 20
Pomógł: 1
Dołączył: 1.03.2008

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


srednik [;
Go to the top of the page
+Quote Post
Wieczny
post 23.06.2008, 17:51:14
Post #3





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

Ostrzeżenie: (60%)
XXX--


Przecież jest i ma być ;P
Go to the top of the page
+Quote Post
krzyszbi
post 23.06.2008, 17:52:37
Post #4





Grupa: Zarejestrowani
Postów: 251
Pomógł: 13
Dołączył: 15.09.2005

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


  1. <?php
  2. $row = mysql_fetch_array($result);//tu na końcu nie masz średnika
  3. ?>


--------------------
Everything should be made as simple as possible, but not simpler. - A.Eainstein
Go to the top of the page
+Quote Post
Wieczny
post 23.06.2008, 17:53:42
Post #5





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

Ostrzeżenie: (60%)
XXX--


o cholera faktycznie sorx za zamieszanie ( te upały i duchota ;P )
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: 28.06.2025 - 00:31