|
Posted by Paul Morrison on 10/10/10 11:41
> instead of using
>><a href=\"stop_subscription.php?id=" . $row['inj_id'] .
> "\">Unsubscribe</a>
>
> use <input type="checkbox" name=deletethis[] value=" . $row['inj_id'] .
>
> where deletethis[] is an array of row id's that you pass to
> stop_subscription and delete all of the id's in the array for multiple
> id's if you only want them to do one at time then remove the [] from
> deletethis.
Hi,
I have now changed it to be
$table_rows .= "<td id=\"td\" align=\"center\" style=\" $style
;padding:5px\" ><input type="checkbox" name=deletethis[] value=" .
$row['inj_id'] . "\"></td>\n\t";
but it will not accept this, the page doesnt load. Is there something that I
am missing, or am I doing it the wrong way?
Cheers,
Paul
Navigation:
[Reply to this message]
|