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?


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to