You are here: Re: Warning: Unexpected character « PHP Programming Language « IT news, forums, messages
Re: Warning: Unexpected character

Posted by vagos on 10/29/68 11:33

Chung Leong wrote:
> Well, if it's not happening any more, then it's probably a transcient
> error of some sort. Maybe the server administrator was doing a file
> restore. Or maybe the disk drive was experiencing problems. It's highly
> unlikely that the error was caused by large PHP files.
>

Sorry, but i am still getting those errors

Warning: Unexpected character in input: ' in
/usr/local/apache/htdocs/super/lib/mod_lib.php on line 20

....
18. if ($mod == "in_m1") {
19. $main2 .= "<table width=100% border=0 cellpadding=\"1\"
cellspacing=\"1\">";
20. $result = mysql_query("SELECT * FROM cat_products WHERE sid = '0'
ORDER BY short ASC");
21.
22. while ($row = mysql_fetch_array($result))
....

This time i get error in a different file.
The strange is that web page is shown correctlly (exept the first line
writting the error)

The only solution i found is to @include("mod_lib.php") in my index.php
and no errors will be shown !! (hm, not the needed solution of course)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация