php - 网站左侧有一个“1”。我不知道它是从哪里来的
问题描述
<form id="frmContact" method="POST" action="Pass2.php">
<p color="red" class="validate_msg"><font color="red">Please fix the errors below!</font></p>
<input type="hidden" name="id" value="<?php echo (isset($gresult) ? $gresult["id"] : ''); ?>" />
<table>
<tr>
<td>
<label for="regname">Applicant Name: </label><span class="val_regname"></span>
</td>
<td>
<input type="text" name="name"
value="<?php echo (isset($gresult) ? $gresult["name"] : ''); ?>"
id="name" class="txt-fld"/>
</td>
</tr>
<tr>
<td>
<label for="prices">prices: </label><span class="val_prices"></span>
</td>
<td>
<input type="text" name="prices"
value="<?php echo (isset($gresult) ? $gresult["prices"] : ''); ?>"
id="prices" class="txt-fld"/>
</td>
</tr>
<tr>
<td>
<label for="day">day #: </label><span class="val_day"></span>
</td>
<td>
<input type="text" name="day"
value="<?php echo (isset($gresult) ? $gresult["day"] : ''); ?>"
class="txt-fld"/>
</td>
</tr>
<tr>
<td>
<label for="slot">slot : </label><span class="val_slot"></span>
</td>
<td>
<input type="text" name="slot"
value="<?php echo (isset($gresult) ? $gresult["slot"] : ''); ?>"
class="txt-fld"/>
</td>
</tr>
<tr>
<td>
<label for="flag">Secondary School: </label><span class="val_flag"></span>
</td>
<td>
<input type="text" name="flag"
value="<?php echo (isset($gresult) ? $gresult["flag"] : ''); ?>"
class="txt-fld"/>
</td>
</tr>
</table>
<input type="hidden" name="action_type" value="<?php echo (isset($gresult) ? 'edit' : 'add');?>"/>
<div style="text-align: center; padding-top: 30px;">
<input class="btn" type="submit" name="save" id="save" value="Save" />
<input class="btn" type="submit" name="save" id="cancel" value="Cancel"
onclick=" return GotoHome();"/><br>
<br>
</div>
</form>
网站左侧有一个“1”。我不知道它是从哪里来的。“1”仅在我更新时出现。谁能帮我找到“1”的来源?
解决方案
您可能1
在 PHP 标记之外的代码中放置了一个位置,或者您已经echo
输出了一个布尔值。首先通过您自己的代码搜索,否则在或随机调用1
之前查找任何字符串。<?php
echo
推荐阅读
- ocr - tesseract 4.0 未能检测到小于“<”符号
- java - Spring 框架和 html/xml 文件上的 Javadoc 示例/模板
- r - 为什么 seq() 同时创建 int 和 num 向量,而 c() 从不创建 int 向量?
- javascript - Chart.js 微软边缘显示问题
- python - 如何使用 Python 检查磁盘中有多少可用空间?
- ionic3 - Ionic 3:使用 radiogroup 选择所有选项
- database - 数据不准确
- java - 在 @OneToMany JPA 集合中使用 Where 子句
- ios - 如何为一个应用显示不同的名称?我想在 Iphone 和 App 中显示应用程序的名称
- javascript - Mongoose 将 If 添加到中间件