On Sun,  2 Mar 2003 10:50:39 -0600, [EMAIL PROTECTED] (David
Gilden) wrote:

>Hello,
>
>I am not understanding why I am getting strange data from the my CGI.     
>Please point out what I have done wrong.
>Thanks
>Dave Gilden

>See the result at, you have to 'order' on item to see the problem.
><http://www.coraconnection.com/paul_s/pages/catalog.html>

I looked at it and clicked on order, and it does what the code says.
With the exception of the quantity is zero.

I'm using the latest mozilla, it shows 1 row of a table, with a picture
of the item first, then it's description, the quantity (which isn't
right), then the escaped $Price

You might want to try assigning a variable name to param("quantity")
first, before you set up the table. I don't know why, but sometimes
the scripts don't like it any other way. I've run into this type of
thing before, and just take the easy way out, and assign a variable.

$quantity= param("quantity")
print  "<td>", $quantity, "</td><td>\$Price goes here</td>\n";

Otherwise, give more explanation of what your problem is.




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to