echo "<input type=checkbox name=C". $1 ." checked>"
Peter B wrote: I am using PHP and after I return a search query from the database I display each result as a table row in HTML. In the administration search results I want to have checkboxes in each row with a select all / none functionality. With this I want to be able to use the selected rows to delete or modify. Similar to Gmail where you can move selected rows to trash. How is this done? How do I insert that into my PHP code. Do I have to display the results in a form?