Re: form question
| From: | Andrei Zmievski | Date: | Tue, 18 Jul 2000 20:35:48 +0000 |
| Subject: | Re: form question | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-7151@lists.php.net to get a copy of this message | ||
On Tue, 18 Jul 2000, Monte Ohrt wrote:
> Ok, so would this work for you?
>
> echo(sprintf("<input type=\"checkbox\" name=fila_art[] value=\"%s\"
> checked>",
> $fila_art[a_id]);
>
>
> Then you could just traverse the fila_art[] array in your php script.
echo (sprintf(.....)) is redundant. It's equivalent to printf(....).
-Andrei
The 3 great virtues of a programmer:
Laziness, Impatience, and Hubris.
--Larry Wall