Demonic Posted February 6, 2007 Share Posted February 6, 2007 k Well Im writing a script where if theres an error it logs in the sql and if a user does something it logs,(all basis log script) Now in the admin panel I have selected all the tables for certain types of logs say user logs(logs everything a user does) next to each log it has a checkbox. I was wondering how can i delete every input where the checkbox is at. Just a guess. Would I give the checkbox name the same as the logs ID. $log = mysql_query("SELECT * FROM logs ORDER BY id DESC"); while($logs = mysql_fetch_array($log)){ echo "<input type=\"checkbox\" name=\"$logs[id]\" />"; } Can someone help me, if you don't understand my question Ill try to explain more. Link to comment https://forums.phpfreaks.com/topic/37240-solved-updating-multiple-checkboxes/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.