Welcome Guest, Not a member yet? Register   Sign In
Starting point for editing table rows
#1

[eluser]ytjohn[/eluser]
Hi,

I'm fairly familiar with PHP and just starting out with CI. I working on a knowledge base type application and was wondering if there were any "starting off" points for editing rows in a database.

I ultimately want this to be an AJAX deal (but I'll take non-ajax starting points as well): I have a simple table "categories" with 7 columns.

I would like to display the contents of this table as an HTML table.

Non-AJAX: Click edit, new page, make your changes, hit Update, and get returned to the table.
AJAX: Click on a field in the table, get an edit box (or drop-down), make your change, and click update. That row will update.

Further with AJAX:
The table has a column called "weight" that determines the sort order. If you're familiar with Mambo/Joomla, it has up/down arrows that will essentially change the weight *and* update the list order.

While I understand that there is probably no "cookie-cutter" setup for this, I hoping to not have to re-invent the wheel on something that seems fairly common.

Thanks in advance.


Messages In This Thread
Starting point for editing table rows - by El Forum - 05-20-2008, 03:02 AM
Starting point for editing table rows - by El Forum - 05-20-2008, 07:12 AM
Starting point for editing table rows - by El Forum - 05-27-2008, 03:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB