Using the same form for add and edit |
[eluser]emurad[/eluser]
Hello, I'm wondering if using the same form in CodeIgniter for add and edit is possible and practical just like in Ruby On Rails? Thanks.
[eluser]InsiteFX[/eluser]
Auth 1.0.6 - By Adam Griffiths Look at the library source code for the register function. It is for CodeIgniter 1.7.x but I have converted it to run under CodeIgniter 2.0.x InsiteFX
[eluser]marjune[/eluser]
what do you mean? Like you got a page then your'e going to add data into database as well as retrieving it then update?
[eluser]InsiteFX[/eluser]
What he means is that he has one form but wants to use it for both editing and adding data. Yes, it can be done download the above auth and view the source for the register function and view. InsiteFX |
Welcome Guest, Not a member yet? Register Sign In |