How would you do this…

Soldato
Joined
18 Oct 2002
Posts
14,844
I've just wasted two days trying to get this working with CodeIgniter and I'm pulling my hair out. Anyone got any ideas for an east way of getting this to work?

I'm trying to set up a simple form that allows a user to edit various bits of text without needing a login and preferably without needing to go to a different screen to edit the content.

So you'd have:

==

Title 1

Content relating to title 1

Title 2

Content relating to title 2

Title 3

Content relating to title 3

==

Both the titles and the content areas need to be editable. I tried using HTML contenteditable=true but I could only get it to store the information for one title and content. I also couldn't figure out how to store the changes in a database.

I then moved on to CodeIgniter and got as far as storing the information in the database but as soon as I tried to call two $data strings into the same view I kept getting php errors.

==

I have a feeling I'm over complicating what should be a really simple operation. There may even be something out there already (open source or otherwise).

Has anyone got any bright ideas?

Thanks for any help you can give me.
 
Back
Top Bottom