Jump to content

Php Error


Tropickz

Recommended Posts

Hello,

 

  I am creating a php file and it's all about done, but I am

getting "Warning: Invalid argument supplied for foreach() in" error.

 

The line is

foreach($crimes as $v)

{

 

Can I try this below or am I missing something on my part. My php version is sufficent!

if(is_array($crimes['$v']))

{

foreach($crimes as $v)

{

 

Thanks !!

Link to comment
https://forums.phpfreaks.com/topic/96862-php-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.