zerocrimes Posted September 23, 2009 Share Posted September 23, 2009 Im getting an error this. Warning: Invalid argument supplied for foreach() in /home/a7812150/public_html/classads/admin_templates/edit_pay_groups.php on line 6 this is the code in the edit_pay_groups.php <P> <CENTER>Select A Pay Group</CENTER> <P> <?php foreach (Get_Pay_Groups() as $key => $value) { print "<a href=$url?Edit_Pay_Group&$key>$value</a><BR>"; } ?> Can someone help me fix this please write me a fix code or something, I'm lost. Thank You. Quote Link to comment https://forums.phpfreaks.com/topic/175245-php-error/ Share on other sites More sharing options...
Maq Posted September 23, 2009 Share Posted September 23, 2009 What does Get_Pay_Groups() return? Quote Link to comment https://forums.phpfreaks.com/topic/175245-php-error/#findComment-923626 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.