התבלבלתי, תשנה את הקוד:
PHP קוד:
$i = 0;
$query = mysql_query("SELECT * FROM item WHERE kat='hand_bags'");
while ($row = mysql_fetch_array($query))
{
echo <<<st
<tr>
<td width="100%" height="12" align="center">
<img border="0" src="{$row['pic']}" width="118" height="84">
<input type="radio" value="{$row['value']}" checked name="R1">
</td>
st;
לזה:
PHP קוד:
$i = 0;
$query = mysql_query("SELECT * FROM item WHERE kat='hand_bags'");
while ($row = mysql_fetch_array($query))
{
echo <<<st
<td width="100%" height="12" align="center">
<img border="0" src="{$row['pic']}" width="118" height="84">
<input type="radio" value="{$row['value']}" checked name="R1">
</td>
st;
ובקוד הזה:
HTML קוד:
echo <<<st
<form method="POST" action="add_item.php">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="17%" id="AutoNumber1" height="118">
st;
תעשה ככה:
HTML קוד:
echo <<<st
<form method="POST" action="add_item.php">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="17%" id="AutoNumber1" height="118">
<tr>
st;