Re: Multiple MySQL Queries

From: Date: Tue, 04 Aug 2009 19:51:11 +0000
Subject: Re: Multiple MySQL Queries
References: 1 2 3 4 5 6 7 8 9 10 11 12 13  Groups: php.general 
Request: Send a blank email to php-general+get-296304@lists.php.net to get a copy of this message
On Aug 4, 2009, at 12:33 PM, Ben Dunlap wrote:
I don't follow what you mean by "it gets sent for every itemid" -- can you post an example of the query string that's being generated?
Well, do I feel stupid. I thought I had moved it to the correct spot but I hadn't. When <input type="hidden" name="c" value="viewcart.htm" /> is in the table cell with the itemid and qty fields, it gets sent along with each itemid and it's qty. However, when I moved it outside the generated table, it now gets sent only once in the URL, which is what I needed. I apologize for the error. I've been working on this for the past week and I think it's taking its toll on me. =;) Now I just need to work on what Jerry and Bastien told me, as far as PHP parsing only the populated qty fields, but I'm afraid that's over my head. =:\ Thanks, Frank

« previous php.general (#296304) next »