HI I have output a list of items from the Mysql DB.
The way I normally do this is to output a new form around each record with a hidden ID a its own delete button for each. Like this:
<form name="form1" method="post" action="content_sat_g_rates.cfm?action=delete">
<input name="ID" type="hidden" id="ID" value="#ID#">
<input name="item" type="text" id="item" value="#item#">
<input type="submit" name="Submit" value="Delete">
</form>
So each time I submit I can use the ID to update or Delete the record.
How can I update or Delete multiple records that are checked?
I hope you guys understand..
Thanks,
D
The way I normally do this is to output a new form around each record with a hidden ID a its own delete button for each. Like this:
<form name="form1" method="post" action="content_sat_g_rates.cfm?action=delete">
<input name="ID" type="hidden" id="ID" value="#ID#">
<input name="item" type="text" id="item" value="#item#">
<input type="submit" name="Submit" value="Delete">
</form>
So each time I submit I can use the ID to update or Delete the record.
How can I update or Delete multiple records that are checked?
I hope you guys understand..
Thanks,
D