Hello world!

Please help! I have a CMS built which I have a problem with and I don't know
if it's a coding error or a bug, but any suggestions would be welcome!

My CMS pulls information from MySQL database with slashes. On one particular
content module I have a problem! I'm trying to 'require' a module stored on
disk, sometimes it works and othertimes it produces the following error:

Parse error: parse error, expecting `','' or `';'' in
/home/sites/site8/web/cmp/generatePage.php(565) : eval()'d code on line 45

If I echo the statement which is supposed to be eval'ed and compare it to
when it works, the only difference is that the working one includes slashes
(this makes sense as I'm stripping slashes from the DB result to make it
work!).

Anyone got any idea how I work around this issue? I can't add or
stripslashes from the file on disk, because then it fails because of the
same intermittant error!

Thanks in advance,
Phil Mellor

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to