xhtmlファイルでphpスクリプトを使用する際に問題が発生しました。W3Cからの検証を確認すると、この厄介なメッセージが表示され続けます。
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>
この問題を解決するにはどうすればよいですか?