Welcome Guest, Not a member yet? Register   Sign In
Invalid argument supplied for foreach() Filename: views/navigation.php
#4

[eluser]danmontgomery[/eluser]
This is faulty logic:

Code:
if(count($var))

Since almost anything will return 1 or more. You should use is_array() in combination with count() or empty()


Messages In This Thread
Invalid argument supplied for foreach() Filename: views/navigation.php - by El Forum - 02-01-2010, 09:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB