Re: build an array of checkbox
| From: | Forest Liu | Date: | Fri, 18 Mar 2005 17:04:37 +0000 |
| Subject: | Re: build an array of checkbox | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-211056@lists.php.net to get a copy of this message | ||
I guess you have the experiences with VB development, right? :)
I think it is not a problem in php, because the index of an array in
php can be a string. That is the solution.You can name the checkboxes
in a certain sequence in your html doc.Then use array to judge in php,
such as foreach.
wish helps.
On Fri, 18 Mar 2005 12:31:40 -0800, Tomás Rodriguez Orta
<admin@angerona.cult.cu> wrote:
> Hello people.
>
> I have a doubt, I want to build an array of checkbox, why?
> well because I list a recordset from data base, and I want to delete the
> current record when the check is selected by the click mouse.
> for example the editor of mail.yahoo.xx, that you can delete any mail when
> you selected any checkbox.
>
> somebody help me, please.
>
> sincerely TOMAS
>
> -------------------------------------------------------------------------
> Este correo fue escaneado en busca de virus con el MDaemon Antivirus 2.27
> en el dominio de correo angerona.cult.cu y no se encontro ninguna coincidencia.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Sincerely,
Forest Liu(刘云赟)