Re: Invalid Arguements

From: Date: Thu, 20 Nov 2008 14:55:45 +0000
Subject: Re: Invalid Arguements
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-283595@lists.php.net to get a copy of this message
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@cmsws.com> 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 >> >>

« previous php.general (#283595) next »