I am trying to figure out why the code listed below works in php v4.3.0 but
not in v4.3.10:
$string = "Param1=Val1;Pa ram2=Val2;Param 3=Val3";
$exploded_strin g = explode(";",$st ring);
foreach($explod ed_string as $param){
list($key, $value) = split("=",$para m);
...additional code...
}
It works fine in v4.3.0, but when I run it on a server running v4.3.10 I get
an error because $param is an Array. It should be a regular scaler variable.
On the first iteration $param should equal 'Param1=Val1'
On the Second iteration $param should equel 'Param2=Val2'
so on an so forth...
Any thoughts or suggestions
Thanks Patrick
not in v4.3.10:
$string = "Param1=Val1;Pa ram2=Val2;Param 3=Val3";
$exploded_strin g = explode(";",$st ring);
foreach($explod ed_string as $param){
list($key, $value) = split("=",$para m);
...additional code...
}
It works fine in v4.3.0, but when I run it on a server running v4.3.10 I get
an error because $param is an Array. It should be a regular scaler variable.
On the first iteration $param should equal 'Param1=Val1'
On the Second iteration $param should equel 'Param2=Val2'
so on an so forth...
Any thoughts or suggestions
Thanks Patrick
Comment