<select multiple>

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
selectoe
Forum Newbie
Posts: 3
Joined: Wed Mar 26, 2008 9:49 pm

<select multiple>

Post by selectoe »

Hello, I need to know how to do this: http://www.onlinetools.org/tricks/using ... select.php
but with using checkboxes instead of a dropdown list. Any ideas?

Thanks.
selectoe
Forum Newbie
Posts: 3
Joined: Wed Mar 26, 2008 9:49 pm

Re: <select multiple>

Post by selectoe »

actually, scratch that, figured that out. A new question! Is this possible:

<input type="checkbox" name="day[]" value=$VARIABLE>

note the variable as the value, and if so, how do i get it to assign the value of the variable to value, instead of it returning $VARIABLE?

Thanks
selectoe
Forum Newbie
Posts: 3
Joined: Wed Mar 26, 2008 9:49 pm

Re: <select multiple>

Post by selectoe »

wow a whole thread to myself. sorted this out aswell, cheers guys :P
Post Reply