Afficher un message
Vieux 16/09/2007, 14h26   #1
RageARC
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Is there any INPUT type that is stored in an array on PHP?

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. ?

  Réponse avec citation
 
Page generated in 0,05178 seconds with 9 queries