当前位置:Gxlcms > PHP教程 > phpoption下拉框报个syntaxerror错误

phpoption下拉框报个syntaxerror错误

时间:2021-07-01 10:21:17 帮助过:46人阅读




$yourpost=$_POST['hobby'];
print_r $yourpost;
?>
报个Parse error: syntax error, unexpected '$yourpost' (T_VARIABLE) in D:\apache2.4.10VC9\Apache24\htdocs\test\index.php on line 3的错。
请同学看一下哪里错了?


回复讨论(解决方案)

print_r ( $yourpost);
print_r 是函数

谢谢,研究一下那个select要带个name过去

人气教程排行