|
Posted by noone on 11/18/79 11:41
Paul Morrison wrote:
>> 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
reformated for readability
$table_rows .= "<td id=\"td\" align=\"center\" style=\"". $style;
$table_rows .= "padding:5px\" ><input type=\"checkbox\" name=deletethis[]";
$table_rows .= " value=\"" . $row['inj_id'] . "\"></td>\n\t";
hopefully I got all of the missing quotes and dots.
Navigation:
[Reply to this message]
|