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,
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
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 =
Give the checkbox value the id of the record to be deleted...if its checked,
then you can simply do an in string check in the sql
input type='checkbox' name='user_loeschen value='.[User-ID].'
$sql = delete from table where id in ({$_POST['user_loeschen']};
bastien
From: Ruprecht Helms
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 =