duplicates when using database update - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: duplicates when using database update (/showthread.php?tid=45697) |
duplicates when using database update - El Forum - 10-01-2011 [eluser]Unknown[/eluser] Hi. I have a strange issue here. can't find anything about it on google or the forum and first time i got this problem with CI. When i update one of my post from my MySQL DB it makes a duplicate of it and add a new row, it does not take all the info because i don't need to change that. my code is this Code: //model Code: //Controller my form is looking like this. http://cl.ly/3e2p0w1j1B1r083S3s38 don't ask about the language, its danish. when i edit that 3 fields i get this output http://cl.ly/2z011T0z0Z1p180v103I i edit the post with ID 3, and it make a new row of that post.. why? another database update is working just fine. |