checkboxes and arrays

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
user___
Forum Contributor
Posts: 297
Joined: Tue Dec 05, 2006 3:05 pm

checkboxes and arrays

Post by user___ »

Hi guys,
I have a simple HTML form which has some checkboxes. When I submit it I do not get any values. I use POST with the HTML form and when I use print_r($_POST) to see all posts I get nothing.

Do you have an idea why I get an empty array?
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Can you post the form and the PHP code that processes it?
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

show us the code...
user___
Forum Contributor
Posts: 297
Joined: Tue Dec 05, 2006 3:05 pm

Reply

Post by user___ »

Fixed.

Thank you for your immediate responses.

You can close this topic.
Post Reply