Welcome Guest, Not a member yet? Register   Sign In
[Solved] What is the best way to update existing serialized data
#2

(This post was last modified: 08-18-2017, 07:28 PM by wolfgang1983.)

Found the issue I had it like

PHP Code:
 "slideshow_module['" $slideshow_module['key'] . "'][banner_id]" 


PHP Code:
<?php 

$option 
= array();

foreach (
$banners as $key => $banner) { 
    
$option[$banner['banner_id']] = $banner['name'];
}

echo 
form_dropdown("slideshow_module['" $slideshow_module['key'] . "'][banner_id]"$option$slideshow_module['banner_id'], array('class' => 'form-control'));

?>

It should of been 

PHP Code:
"slideshow_module[" $slideshow_module['key'] . "][banner_id]" 
There's only one rule - please don't tell anyone to go and read the manual.  Sometimes the manual just SUCKS!
Reply


Messages In This Thread
RE: What is the best way to update existing serialized data - by wolfgang1983 - 08-18-2017, 07:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB