I am displaying list of texts with an submit button in each row called "edit".
I am using post method.
When the user want to edit more than one text they can check a checkbox and they can click on any "edit" button.And i know how handle the texts when the user checks the checkbox.
But if they want to edit only one texts then its not necessary to check checkbox.
How can i handle if the user does not check any of the check box.
For example user want to edit apartment he clicks on "edit" button which is in the same line. How can i get the text of this in post method. All these texts are dynamic i am getting from data base.row
<form method='post' action="edit.php">
<tr><td>
<input type="checkbox" value="1" name="check_list[]">
</td><td><input type='text' name="text[]" value="casa|house|home" /></td>
<td><input type="submit" value="edit></td>
</tr>
< tr><td>
<input type="checkbox" value="2" name="check_list[]">
</td><td><input type='text' name="text[]" value="apartments" /></td>
<td><input type="submit" value="edit></td>
</tr>