Well. I'm having a problem with the eval(); function in PHP. I don't quite understand how to store the returned data into a variable to print.. my code is as follows:
<?php
$a = 4;
$write = eval("$a+$a;");
echo $write;
?>
I'm not sure what I'm doing wrong. When I run the PHP script, all it does is output nothing.. Any help is appreciated