Re: [PHP-DB] handling of checkboxvalues

2006-02-13 Thread Luis Morales
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,

Re: [PHP-DB] handling of checkboxvalues

2006-02-12 Thread Ruprecht Helms
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

Re: [PHP-DB] handling of checkboxvalues

2006-02-12 Thread Ruprecht Helms
Hi Luis, you can do this... form.php ? if($_POST['submit'] == 'send form'){ for($i=0;count($_POST['user_loeschen'])$i;$i++){ --- put here your sql statement to delete user --- ej... delete from users where id =

[PHP-DB] handling of checkboxvalues

2006-02-11 Thread Ruprecht Helms
Hi, I want to have a function that delete some customers. The customers will be selected by cklicking on in checkboxes. This is the line I codes the checkboxes: input type='checkbox' name='user_loeschen[] value=id id=.[User-ID]. How can I use the checkboxvariable within another script and

RE: [PHP-DB] handling of checkboxvalues

2006-02-11 Thread Bastien Koert
[EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: php-db@lists.php.net Subject: [PHP-DB] handling of checkboxvalues Date: Sat, 11 Feb 2006 17:48:48 +0100 Hi, I want to have a function that delete some customers. The customers will be selected by cklicking on in checkboxes. This is the line I

Re: [PHP-DB] handling of checkboxvalues

2006-02-11 Thread Luis Morales
Well, you can do this... form.php ? if($_POST['submit'] == 'send form'){ for($i=0;count($_POST['user_loeschen'])$i;$i++){ --- put here your sql statement to delete user --- ej... delete from users where id =