Hey, Does anyone know how to use the eval function. I wanna output a variable which is stored in a mySQL database but I keep getting this stupid error.
Parse error: syntax error, unexpected T_STRING in /home/.eurypides/npsale/vezor.net/certificate.php(39) : eval()'d code on line 1
I'm guessing there's an error in the entry in the database but i removed the text apart from the variable and still nothing.
Thats part of my PHP for getting the code and eval()ing it.
Thanks
Parse error: syntax error, unexpected T_STRING in /home/.eurypides/npsale/vezor.net/certificate.php(39) : eval()'d code on line 1
I'm guessing there's an error in the entry in the database but i removed the text apart from the variable and still nothing.
PHP:
$certext = stripslashes($row['certext']);
eval("$certext");
Thats part of my PHP for getting the code and eval()ing it.
Thanks





