Jest to moj pierwszy post, wiec przepraszam jesli wpisalem zle tytul tematu i slabo opisalem problem.
Praktycznie na php sie nie znam, moze tam jakies minimum z minimum ale dostalem pewien cms od znajomego i praktycznie wszystko dziala oprocz newsow.
Link do strony: http://cmstest666.ugu.pl/index.php
http://cmstest666.ugu.pl/pliki/news.txt
http://cmstest666.ugu.pl/pliki/dev.txt
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit WHERE co='news'' at line 1 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /virtual/c/m/cmstest666.ugu.pl/enigme/class/dev.php on line 8 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OFFSET 0' at line 1 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /virtual/c/m/cmstest666.ugu.pl/enigme/class/news.php on line 20
Czy ktos moglby mi naprawic te newsy zeby dzialaly, niestety ja tego nie ogarniam.
Jesli komus jest potrzebny jakis kod z pliku napiszcie jakie to tu umieszcze.
Bardzo bym prosil o pomoc w razwiazaniu tego problemu
Dziekuje