如果在HTML中按下提交按钮,我需要发送一些值。我该怎么办?
<input type="submit" name="ask" class="tbutton" value="ask" />
if(isset($_POST['ask'])){
// i need to fetch some value that is passed with submit button }
答案 0 :(得分:2)
我想你想要获取一些输入的值吗?
可能会有所帮助
-bash: syntax error near unexpected token `('