Re: handling of checkboxvalues
| From: | Luis Morales | Date: | Mon, 13 Feb 2006 11:18:54 +0000 |
| Subject: | Re: handling of checkboxvalues | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-41239@lists.php.net to get a copy of this message | ||
umm,
ok... if you put your using echo:
<?
echo "<input type='checkbox' name='aus_id[]'
value='{$aus_konto['konto']}'>";
?>
Or over html :
"<input type='checkbox' name='aus_id[]' value='<?=
$aus_konto['konto'] ?>'>"
On this way both samples must be ok.....
Good luck....
Luis Morales
On Sun, 2006-02-12 at 10:33 +0100, Ruprecht Helms wrote:
> Luis Morales wrote:
> > Well,
> >
> > you can do this...
> >
> >
> >
> > form name='my_form' method='post' action='form.php'
> > ENCTYPE='multipart/form-data'
> > <input type='checkbox' name='user_loeschen[] value="<?= $id
> > ?>" id="<?=
> > $id?>">
> > <input type="submit" name="submit" value="send form">
> > </form>
> >
> >
> Actually I have written this script to check the checkbox. This bring me
> an error telling me that I have
> forgot to set a ; but I think I ve coded something wrong with simple and
> dopple quots.
>
> Regards,
> Ruprecht
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
---------------------------------------------------------------------------------
Luis Morales
Consultor de Tecnologia
Cel: +(58)416-4242091
---------------------------------------------------------------------------------
"Empieza por hacer lo necesario, luego lo que es posible... y de pronto
estarás haciendo lo imposible"
---------------------------------------------------------------------------------