You are here: Is there any INPUT type that is stored in an array on PHP? « PHP Programming Language « IT news, forums, messages
Is there any INPUT type that is stored in an array on PHP?

Posted by RageARC on 09/16/07 13:26

I want to show the user a list of emails and the user must have the
ability to select which ones he wants. Multiple selections must be
allowed. Any way I can do this? In PHP I want to do:

foreach ($_POST['contacts'] as $contact) {
// code...
}

But using Checkboxes doesn't work, I've tried putting them with the
same name but all that appears is a string of the LAST selected
checkbox :S. Help?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация