Hi all,
I am trying to pass values to the cart. When I select add to cart the values show up in the url but does not direct the user to the shopping cart.
//passing variables from db
$m_id=$row{products_make};
//echo $m_id;// test out put valid
$p_id=$row{products_price};
//echo $p_id;//test output valid
// Start of form processing of data to cart
echo "<form action=http://www.romancart.com/cart.asp method=post>\n";
echo"<input type=\"hidden\" name=\"itemname\" value=\"$m_id\">";
echo'<input type= hidden name=returnurl value="http://217.146.126.103/passenger.php">';
echo"<input type=\"hidden\" name=\"price\" value=\"$p_id\">";
echo"<input type=\"hidden\" name=\"storeid\" value=\"45983\">";
echo ' Quantity: ';
echo '<select name="quantity">';
echo '<br>';
echo'<option>1';
echo'<option>2';
echo'<option>3';
echo'<option>4';
echo'<br>';
echo'<input type=submit value="Add to Basket">';
echo"</form>";
hope some can assist
thanks
David