Hello, I have a problem with this piece of code.
foreach ($gm->res as $val) /* this is line 5 */
{
echo $val .'<BR>';
}
It keeps giving me this error.
Warning: Invalid argument supplied for foreach() in /mounted-storage/home5/sub003/sc12656-WTBM/www/msn/example.php on line 5
What it is ? and is there any way to replace foreach with while or anything.
Thanks, 🙂