我正在DART中创建一个科学的calc应用程序.我不知道如何使用像正弦,余弦这样的三角函数.我使用"math.sin()",但它抛出一个异常"没有顶层getter math.get声明"如何解决它?提前致谢
我只是试图从文本框中获取文本并通过POST方法打印但我得到错误未定义索引:第14行中的名称
<html>
<head>
<title>Form with PHP </title>
</head>
<body>
<form method = "post">
<input type ="text" name="name">
<input type="button" value="submit" id="submit">
</form>
<?php
$name=$_POST["name"];
echo "my name is" .$name;
?>
</body>
</html>
Run Code Online (Sandbox Code Playgroud)