POST help
Posted: Mon Aug 09, 2004 12:05 am
page 1
page 2
but the result i get is http://www.mysite/.php
am i doing something wrong? am i "GETTING" the variable properly from the previous page?
thanx
Code: Select all
<form name="form1" method="post"
action="cart.php?action=add_item&id=<?php echo $rowї"itemId"]; ?> &qty=1&url=<?php echo $P_Cat; ?>">Code: Select all
<?php
case "add_item":
{
AddItem($_GET["id"], $_GET["qty"], $_GET["url"]);
ShowCart($rs_cart);
break;
}
?>Code: Select all
<a href="<?php echo $_POSTї'url'];?>.php">continue shopping</a>but the result i get is http://www.mysite/.php
am i doing something wrong? am i "GETTING" the variable properly from the previous page?
thanx