php help please? can someone help me pass values in php using href?

gerald

New member
<?PHP
while($array = mysql_fetch_array($sql))
{
echo"
<form>
<tr><th>$array[desc]</th><td></td></tr>
<tr>
<td align = center><select name='.$array[item_num].'>";
?>
<option>0</option>
<?PHP
for($i=1;$i!=$array[qty]+1;$i++)
{
echo "<option>".$i."</option>";
}
?>

</select>
<img src="<?PHP echo "$array[address]";?>"align = middle width="100" height="100"></center></td>
<td><?PHP echo"<a href =\" cart.php?qty=".$_POST[$array['item_num']]."\">";?><img src=items/addtocart.jpg></a></td>
</tr>
<tr>
<td align = center><?PHP
echo"Price: $$array[price].00";
?></td><td>

</td>
</tr>
</form>
<?PHP
}?>

can you help me pass values using a href.. thanks
 
Back
Top