mardi 31 mars 2015

how to fetch data from database by using checkbox in php

I'm pretty new in php industry. And now i am searching to write a function that can be fetch database data by using checkbox. Somemore I have meet problem which is have to combine all of the data from below table into a string.



![table result show][1]

<td align=\"center\"><input name=\"delete[]\" type=\"checkbox\" value=\"$rows[0]\"></td>
<td> <input type=\"text\" name=\"ID[]\" id=\"ID\" value=\"$rows[0]\" readonly\> </td>
<td> <input type=\"text\" name=\"sid[]\" id=\"sid\" value=\"$rows[1]\" \> </td>
<td> <input type=\"text\" name=\"func[]\" id=\"func\" value=\"$rows[2]\" \> </td>
<td> <input type=\"text\" name=\"addHigh[]\" id=\"addHigh\" value=\"$rows[3]\" \> </td>
<td> <input type=\"text\" name=\"addLow[]\" id=\"addLow\" value=\"$rows[4]\" \> </td>




Aucun commentaire:

Enregistrer un commentaire