note 16994 deleted from language.types.array by jimw

From: Date: Fri, 14 Dec 2001 19:54:55 +0000
Subject: note 16994 deleted from language.types.array by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-22678@lists.php.net to get a copy of this message
PHP, HTML and JAVASCRIPT<br> <br> Consider the form below:<br> <form method="post" name="servform"> <br> Here is a simple example on HTML ID attributes: <br> <select id="id_logins" name="f_logins[]" multiple><br> At this point, PHP will take "f_logins" as an array, with the selected itens as its containts.<br> To referrer to this object using JS, just do:<br> document.forms.servform.id_logins[i].value; <br><br> NOTE: It works fine for IE >= 5.0. Does not work under NS 4.7 . Other browsers I haven´t tested. <br> Hope this helps !

« previous php.notes (#22678) next »