Re: Multiple MySQL Queries
| From: | Jerry Wilborn | Date: | Tue, 04 Aug 2009 18:56:43 +0000 |
| Subject: | Re: Multiple MySQL Queries | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-296296@lists.php.net to get a copy of this message | ||
If the form method is "POST" then set the 'c' variable with a hidden value
within the form: <input type=hidden name=c value="viewcart.htm">
Jerry Wilborn
jerrywilborn@gmail.com
On Tue, Aug 4, 2009 at 1:50 PM, <sono-io@fannullone.us> wrote:
>
> On Aug 4, 2009, at 9:43 AM, Jerry Wilborn wrote:
>
> Keep in mind that you can use name=var[] value=value1, name=var[]
>> value=value2 and php will create an array as $_REQUEST['var'] with each of
>> your values. The keys are numbered and don't count on what order they'll
>> come through.
>>
>
> Thanks for the tip, Jerry. I'm still trying to figure this out, but
> in the meantime, I'm running into another problem. I have the action on the
> form set as "/shop.cgi?c=viewcart.htm" but it keeps stripping out everything
> after the question mark. I want "c=viewcart.htm" sent only once in the URL,
> so I can't place it in the form as it then gets sent along with every itemid
> in the form.
>
> How does one append a path extension after the auto-generated
> question mark?
>
> Thanks,
> Frank
>