Forum Moderators: coopster
Here is the deal. I created a ghetto e-commerce solution in two days for our company. It's almost nothing because we were extremely limited on time. Now I have found a problem with the second attempt to use this system. For some reason variables are not being passed by a form to the next script.
I've checked for /form tags and I am not missing any of those. I can't see this being a server issue since the same system works on the development site on the same server. Right now I'm just trying to echo the variables and I can't get them to work. I'm using all double quotes on the form so that shouldn't be the issue. Any ideas?
Here's the form:
--------------------------------------------------
<form action=\"cart.php\" method=\"post\">
<input type=\"hidden\" name=\"key\" value=\"add\">
<input type=\"hidden\" name=\"id\" value=\"$row[id]\">
Quantity: <input type=\"text\" name=\"quantity\" value=\"1\" size=\"2\">
<input type=\"submit\" name=\"submit\" value=\"Add to Cart\">
</form>
--------------------
Any ideas or help would be extremely appreciated. I'll be here beating my head against the monitor.
[edited by: jatar_k at 4:32 pm (utc) on Sep. 24, 2003]
[edit reason] no urls thanks [/edit]