【发布时间】:2011-01-07 12:31:19
【问题描述】:
目前我正在开发与我们联系,当我在本地主机上运行该脚本时,我的问题是什么,错误中的名称字段和电子邮件字段出现如下:
(<br /><b>Notice</b>: Undefined index: name in <b>E:\wamp\www\rrr\btech\index.php</b> on line <b>49</b><br />)
(<br /><b>Notice</b>: Undefined index: email in <b>E:\wamp\www\rrr\btech\index.php</b> on line <b>49</b><br />)
点击提交后会出现未定义的语法错误。
<tr>
<td valign="bottom"><span class="contactus-txt">
<input name="textfield222" type="text" class="contact-field" style="width:125px;" value="<?php echo $_GET['name'];?>" />
</span></td>
<td valign="bottom"><span class="contactus-txt">
<input name="textfield2222" type="text" class="contact-field" style="width:125px;" value="<?php echo $_GET['Email-Id'];?>"/>
</span></td>
</tr>
我使用了那个 html 代码。
谁能告诉我我犯了什么错误?
【问题讨论】:
标签: php javascript html css forms