Need help in resolving "Illegal String Offset" warning messa
Posted: Thu Feb 05, 2015 2:38 pm
Actually I am moving the HRMS application from older to latest version of PHP but I am getting the below warnings.
Appreciate help or any suggestions to resolve the issue......
***** Please use PHP Code tag *****
Error:
Warning: Illegal string offset 'features_value'
Warning: Illegal string offset 'features_name'
Appreciate help or any suggestions to resolve the issue......
***** Please use PHP Code tag *****
Code: Select all
foreach($result1 as $resultset1)
{
$stringData3="<li><a href=\"##LBL_SITE_URL##index.php/".$resultset['module_value']."/".$resultset1['features_value']."\">";
$stringData4=$stringData3.$resultset1['features_name']."</a></li>";
fwrite($fh,$stringData4);
}Warning: Illegal string offset 'features_value'
Warning: Illegal string offset 'features_name'