Re: Invalid Arguements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20 Nov 2008, at 14:37, Terion Miller wrote:
I currently have it like this:
<select name="BannerSize">
                               <option value="0">Select a Banner
Size</option>
                               <option value="728x90">728x90 -
Leaderboard</option>
                               <option value="160x600">160x600 -
Skyscraper</option>
                               <option value="300x250">300x250 -
Square</option>
                               <option value="88x31-300x250">88x31 and
300x250</option>
<option value="120x240">120x240</ option>
                               <option value="940x30">940x30 - Pencil
Ad</option>
                           </select>
but your saying it should be <select name="BannerSize[]">

That's a single select field, why are you trying to implode it??

-Stut

--
http://stut.net/

On Wed, Nov 19, 2008 at 8:14 PM, Jim Lucas <lists@xxxxxxxxx> wrote:

Terion Miller wrote:

Actually it did at one point have bannersize[#] # being the numbers
1-however many were there
I've since gotten rid of that and made it a select.
and gotten rid of the implode all together because it wouldn't work in
either case and the more I read the more confused I got.
Terion


Why don't you show us a snippet of code that is the form page for this.

Let us see what you are trying to describe to us.

Even if you switched it to a <SELECT ...></SELECT> the name attribute still needs to contain the brackets if you expect to pass more then one <SELECT>
field in the same form.

--
Jim Lucas

 "Some men are born to greatness, some achieve greatness,
     and some have greatness thrust upon them."

Twelfth Night, Act II, Scene V
  by William Shakespeare




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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux