[Solved] What is the best way to update existing serialized data - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: [Solved] What is the best way to update existing serialized data (/showthread.php?tid=68743) |
[Solved] What is the best way to update existing serialized data - wolfgang1983 - 08-18-2017 I have this code that I am working on but for some reason when I want to update my existing serialized data it updates it but does not remove old data. How can I update existing serialized properly so will remove the previous serialized data. As you can see in image below because previous data not been removed shows with no width or height Controller PHP Code: <?php Setting Model PHP Code: <?php RE: What is the best way to update existing serialized data - wolfgang1983 - 08-18-2017 Found the issue I had it like PHP Code: "slideshow_module['" . $slideshow_module['key'] . "'][banner_id]" PHP Code: <?php It should of been PHP Code: "slideshow_module[" . $slideshow_module['key'] . "][banner_id]" |