php新手的表单提交问题-----------------demo.html----------------百度 google------------------search.php-----------------php
出错提示:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING先谢谢各位了。
------解决方案--------------------header("Location:http://www.baidu.com/s?wd={$_GET['search']}");//百度搜索跳转或header("Location:http://www.baidu.com/s?wd=$_GET[search]");//百度搜索跳转
