Invalid argument supplied for foreach() - Solution

Invalid argument supplied for foreach() – Solution

Table of Contents

if (is_array($values) || is_object($values)) 
{ foreach ($values as $value) { ... } 
}

 

Leave a Comment

Your email address will not be published. Required fields are marked *

No data found.