Forum Moderators: coopster

Message Too Old, No Replies

Help with a form problem

         

SethC

2:35 pm on Sep 24, 2003 (gmt 0)

10+ Year Member




OK, I'm messing something up and I think it is one of those situations where you just can't see your own error. Unfortunately no one else at my company knows programming or Web Dev very well so I'm on my own. Soooo I'm reaching out for a bit of help from you folks. :)

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\">&nbsp;
<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]

SethC

2:50 pm on Sep 24, 2003 (gmt 0)

10+ Year Member



Ugh. Sorry people. I am an idiot and missed a location refresh I was doing. My bad. Nevermind. :) Thanks!

jatar_k

4:42 pm on Sep 24, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld SethC