how can I save an eval() interpreted string in a variable? I tried s.th. like this,
Code: Select all
$test = eval($string);THX lrd089
Moderator: General Moderators
Code: Select all
$test = eval($string);Code: Select all
ob_start(); // Start the output buffer
eval( . . . );
$output = ob_get_contents(); // Get outputted data
// Erase output buffer, since we already have its contents
ob_end_clean();Code: Select all
print $output;