Re: [PHP] checkbox => POST => array??

2002-08-12 Thread Brent Baisley
I'm doing something very similar on a project I'm working on, except I'm using radio buttons. I'm not quite sure what are using the ID for (for style sheets or a data ID). If you are using it as a data ID, then you can make it part of the topic[] array. So it would look like this: Then to pro

Re: [PHP] checkbox => POST => array??

2002-08-10 Thread Jason Stechschulte
On Sat, Aug 10, 2002 at 02:56:48PM -0400, PeterV wrote: > What I have now: > > doesn't return an array $topic?? Probaby due to register_globals. It should exist in $_POST['topic'] -- Jason Stechschulte [EMAIL PROTECTED] http://www.ypisco.com -- I am a bookaholic. If you are a decent person,

[PHP] checkbox => POST => array??

2002-08-10 Thread PeterV
I, I don't have my books here and it's been a while since I did PHP, and google isn't helping: How do I code a bunch of checkboxes with id's, and then loop trough the result as an array after POSTing it? What I have now: doesn't return an array $topic?? Thanks, Peter -- PHP General Mailing L