note 36294 added to faq.html

From: Date: Fri, 03 Oct 2003 19:25:48 +0000
Subject: note 36294 added to faq.html
Groups: php.notes 
Request: Send a blank email to php-notes+get-57779@lists.php.net to get a copy of this message
Responding to the suggestion for using this line: <form onSubmit="selection.name=selection.name + '[]'"> This did not work for me. I had to make a function makeArray: function makeArray(selectBox) { selectBox.name=selectBox.name + "[]"; } Then, in the submit button, add this: onClick='makeArray(this.form.selection)' I couldn't get anything else to work. --Rafi ---- Manual Page -- http://www.php.net/manual/en/faq.html.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+36294 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+36294&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+36294&report=yes Search Tool -- http://master.php.net/manage/user-notes.php

« previous php.notes (#57779) next »