ok .. im doing this delete script..explained some here:
http://forums.devshed.com/t244981/s.html
so im giving them options when deleting a category, that if a category that the user is deleting has some related information to that category (stored in a different table), that it will give them options to deal with that related info (which is to delete the related info, or move them to another category).
my question is, how should i deal with the multiple categories ....
should i create a hidden form value like this:
Code:
<input type="hidden" name="dorelated[]" value="cat_id">
//related radio buttons for the options to do with related info
then when it is submitted, the dorelated array will have the id's of the categories that have related info, and then deal with the info that way?
if anyone understands this, any suggestions would be appreciated.