what problem I want to use eval in my script but its generate this error :
Parse error: parse error, unexpected T_LNUMBER in C:\Projects\phpmag\admin\functions\admin_cont.php(22) : eval()'d code on line 4
eval ("\$all_types_list .= \"$all_types_list\";");
For those who do not know what all the CAPITALIZED secret words in error messages mean: i found a list of them on http://www.zend.com/manual/tokens.php. A T_LNUMBER is an integer.
I __suppose__ that $all_types_list contains a number, maybe 144, and while you mean to do
the eval function somehow evaluates
And .= expects a string on the right side, not an integer.
Maybe someone who is more experienced with eval() can shed more light on this.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php