greetings,
how do I get the exact product name if I have this script
while ($row=mysql_fetch_array($result))
{
?>
<tr><td><?php echo $row[title]; ?></td><td><?php echo $row[sale_price]; ?></td><td>
<input type="hidden" name="item[]" value="<?php echo $row[title]; ?>">
<input type="text" name="quantity[]" size="3" ></td></tr>
<?php }?>
<tr><td colspan="3" align="right">
<input type="submit" name="submit" value="add to cart"><input type="reset" name="submit" value="reset"></tr>
from the script it will display the product title, price and an input box for quantity. I like to get the exact product title if the user input some number in the box.
sample page here:
http://202.81.169.56/cube/buylist.php