Posted by Baron Samedi on 05/22/06 05:38
$text = '2==2';
eval('$condition = ($text)? true : false;');
if ($condtion)
echo '<hr>True<hr>';
else
echo '<hr>False<hr>';
--------------------------------------------------------------------------------
False
--------------------------------------------------------------------------------
Navigation:
[Reply to this message]
|