How can I make a ONE model for edit delete update? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: How can I make a ONE model for edit delete update? (/showthread.php?tid=53143) |
How can I make a ONE model for edit delete update? - El Forum - 07-12-2012 [eluser]ogib[/eluser] This is mysql databases on my project. category|c_id product|p_id|c_id properties|pr_id|p_id To clarify: the category table contained in the categories of products in the product table contains only those products in a table containing all the properties for The Nature products. The Nature of the products are very different for each product! How can I make a ONE model for edit delete update? Sorry for my terrible English! How can I make a ONE model for edit delete update? - El Forum - 07-12-2012 [eluser]InsiteFX[/eluser] Code: public function edit($table_name, $src_id, $id, $data) Something like that. How can I make a ONE model for edit delete update? - El Forum - 07-12-2012 [eluser]WanWizard[/eluser] Or have a look at Jamie's base model How can I make a ONE model for edit delete update? - El Forum - 07-13-2012 [eluser]ogib[/eluser] Thank you for your help, but it comes to the table properties in which each row contains a characteristic driven from table product. For example: a product "shoes" has 10 description, this means 10 lines in the table properties, and another product "hat" has two characteristics that means 2 rows in table properties. So how how can I make a ONE model for edit delete update Thank you How can I make a ONE model for edit delete update? - El Forum - 07-15-2012 [eluser]Alexandre E. Souza (Joker)[/eluser] I have a class for everythings do you to want? How can I make a ONE model for edit delete update? - El Forum - 07-16-2012 [eluser]ogib[/eluser] Yeah right! How can I make a ONE model for edit delete update? - El Forum - 07-16-2012 [eluser]Alexandre E. Souza (Joker)[/eluser] what your e-mail for me send you? How can I make a ONE model for edit delete update? - El Forum - 07-16-2012 [eluser]ogib[/eluser] Alexandre E. Souza my email is: [email protected] How can I make a ONE model for edit delete update? - El Forum - 07-17-2012 [eluser]Alexandre E. Souza (Joker)[/eluser] I sent for you!! |