Re: Bug #4148 Updated: Inserting multiple values from the control Option into a field in the table
| From: | crk indian | Date: | Mon, 17 Apr 2000 06:18:25 +0000 |
| Subject: | Re: Bug #4148 Updated: Inserting multiple values from the control Option into a field in the table | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-17958@lists.php.net to get a copy of this message | ||
Sir,
It was nice of you that u replied soon,but ur
reply was not satisfactory to me.whenever i send any
doubt you are trying to reply us only with the help of
FAQ.we tried with that Faq,but the script displayed
the total form itself.for ur reference please see the
code which follows:
<html>
<head>
<script language="javascript">
function fun1()
{
variable = document.forms[0].elements['busstype[]'];
alert(variable)
}
</script>
</head>
<body>
<form>
<table border="0" width="332" height="29">
<tr>
<td width="365" height="21">Business
Type :</td>
<td width="253" height="21">
<select name="busstype[]" size="4" multiple >
<option value="Importer">Importer</option>
<option value="Exporter">Exporter</option>
<option
value="Manufacturer">Manufacturer</option>
<option value="Supplier">Supplier</option>
</select></td>
<td>
<input type="button" value="submit"
onclick="fun1()">
</td>
</tr>
</table>
</form>
</body>
</html>
i am also attaching it as a html file.try to
answer briefly.i hope u will clear my doubt.thanks for
taking this much pain.
Regards,
C.Rajesh Kumar
--- Bug Database <php-dev@lists.php.net> wrote:
> ID: 4148
> Updated by: mrobinso
> Reported By: crk_indian88@yahoo.com
> Status: Closed
> Bug Type: MySQL related
> Assigned To:
> Comments:
>
> http://www.php.net/FAQ.php3
>
> 5.9 How do I get all the results from a SELECT
> MULTIPLE HTML tag?
>
>
>
> Full Bug description available at:
> http://bugs.php.net/?id=4148
>
>
__________________________________________________
Do You Yahoo!?
Send online invitations with Yahoo! Invites.
http://invites.yahoo.com