anyone knows how?
if($var==0)
echo "<br>Your program compiled successfully! <br>";
else
echo "Compiled failed! <br><br>";
echo "The output from compiler is:<br>";
echo "<br>////////////////////////////////////////////////////////////////////////////////////////////////////////<br>";
for($i=0;$result[$i];$i++) //print the return string in $result.
{
echo $result[$i]."<br>";
}
echo "//////////////////////////////////////////////////////////////////////////////////////////////////////<br>";