add extra rows in a HTML table |
[eluser]Tpojka[/eluser]
Do you have code for delete and update? Have you done with that part already? That are no CI or PHP solution in general. You need sql solution here. There are two approaches: 1.) statically generated table output (which you have now) as is That means you need all data predefined in table column already so in that column cell there could be something like http://example.com/edit/1 (1 == id of row) for example. 2.) dynamically adding cell on generated table in which (cell) you will put value shown few lines above This second approach is more flexible because you can combine different controllers with no changing DB, if needed. In DB you already have data you need, and it is row_id. How shell output be generated is less important IMHO. |
Messages In This Thread |
add extra rows in a HTML table - by El Forum - 10-28-2013, 02:19 AM
add extra rows in a HTML table - by El Forum - 10-28-2013, 02:25 AM
add extra rows in a HTML table - by El Forum - 10-28-2013, 02:26 AM
add extra rows in a HTML table - by El Forum - 10-28-2013, 02:39 AM
add extra rows in a HTML table - by El Forum - 10-28-2013, 03:19 AM
add extra rows in a HTML table - by El Forum - 10-28-2013, 03:35 AM
add extra rows in a HTML table - by El Forum - 10-28-2013, 03:41 AM
add extra rows in a HTML table - by El Forum - 10-28-2013, 03:44 AM
add extra rows in a HTML table - by El Forum - 10-28-2013, 03:55 AM
add extra rows in a HTML table - by El Forum - 10-28-2013, 04:12 AM
add extra rows in a HTML table - by El Forum - 10-28-2013, 04:46 AM
add extra rows in a HTML table - by El Forum - 10-28-2013, 07:16 AM
|