测试
[html=科学计算器]
请输入算式:
[form=post,read.php?cid=math&pid=js]
[input=ss]<%=$ss=$_REQUEST<('ss')>%>[/input]
[submit]计算[/submit][anchor=post,计算,read.php?bid=wml&cid=math&pid=js][pst=ss][/anchor]
[/form]
<?php
if($ss!='')
{
echo '
',code::html($ss),'
=',$yes=math_js::go($ss);
if(!$yes&&$yes!==0)
echo ' 算式错误!';
} else {
?>