,它繼續顯示這惱人的消息:PHP腳本驗證錯誤
character "<" is the first character of a delimiter but occurred as data
這裏是我的代碼
<tr>
<td scope="row"><?php echo $prod_id; ?></td>
<td><?php echo $prod_name; ?></td>
<td><?php echo $prod_date; ?></td>
<td><?php echo $prod_price; ?></td>
<td>
<form action="./prod_edit.php" method="get" >
<input type="hidden" name="query_access" value="1" />
<input type="hidden" name="product_id" value="<?php echo $prod_id; ?>" />
<input type="hidden" name="product_name" value="<?php echo $prod_name; ?>" />
<input type="hidden" name="product_date" value="<?php echo $prod_date; ?>" />
<input type="hidden" name="product_price" value="<?php echo $prod_price; ?>" />
<input type="submit" name="edit_button" value="Edit" />
</form>
</td>
<td>
<form action="./prod_delete.php" method="get">
<input type="hidden" name="query_access" value="1" />
<input type="hidden" name="product_id" value="<?php echo $prod_id; ?>" />
<input type="hidden" name="product_name" value="<?php echo $prod_name; ?>" />
<input type="hidden" name="product_date" value="<?php echo $prod_date; ?>" />
<input type="hidden" name="product_price" value="<?php echo $prod_price; ?>" />
<input type="submit" name="delete_button" value="Delete" />
</form>
</td>
</tr>
如何解決這個問題?
你能發佈最終的html嗎? –
我剛更新了代碼 – babygau