thindrakhya
09-03-2007, 11:58 AM
hi
i am displaying the registered users with thier class id with check boxes for the moderator to delete the add/delete the users
eg
class id name user_id user_name checkbox
2 abc 4 john
i am using smarty templating system but that have nothing to do this problem
<td><input name = "{$smdata.user_id[id]}" type = "checkbox" value = "{$smdata.user_id[id]}" ></td>
now when moderator click on check boxes i will get the userID of the user but i also want to get the class id as well
Any idea how i can do this
one thing more , initially i was not using class id so if user checks multiple check boxes i can get the array and can delete multiple values but now as i have class id as well how can i delete the users as some of them will have the different class ids
i am displaying the registered users with thier class id with check boxes for the moderator to delete the add/delete the users
eg
class id name user_id user_name checkbox
2 abc 4 john
i am using smarty templating system but that have nothing to do this problem
<td><input name = "{$smdata.user_id[id]}" type = "checkbox" value = "{$smdata.user_id[id]}" ></td>
now when moderator click on check boxes i will get the userID of the user but i also want to get the class id as well
Any idea how i can do this
one thing more , initially i was not using class id so if user checks multiple check boxes i can get the array and can delete multiple values but now as i have class id as well how can i delete the users as some of them will have the different class ids