第1个回答 2014-03-21
你这个是html文件还是php文件,如果是html文件,那么你这样定义是没用的,因为这个是php代码,在服务器那边执行的,html是客户端的,静态的。
第2个回答 2014-03-21
<form id="form1" name="form1" method='post' action='add.php?id=<?=$id?>'>
第3个回答 2014-03-21
这样<form id="form1" name="form1" method='post' action='add.php?id='+<?php echo $id;?>>
第4个回答 2014-03-21
<form id="form1" name="form1" method='post' action='add.php?id='<php>echo 3;</php>>