Msg#: 11745 posted 7:38 am on Feb 16, 2006 (gmt 0)
The script is valid, It prints out the script even i close and open php?><? the only problem is i cant add 2 things like name and type to an inputbox in the eval script... and i find this wierd i even tried it with echoing it fully in php. echo "<inputbox type=\'blah\' name=\'bla\'>"; but that gives the error too and i fiend this wierd..
Msg#: 11745 posted 6:50 pm on Feb 21, 2006 (gmt 0)
How are you running your eval? Are you printing it? Assigning it to a variable? eval() has to be passed valid PHP code, including things like terminating statements with a semicolon so the parser doesn't die on the line after the eval(). Properly escaping the code string is only part of a proper eval().