Welcome Guest, Not a member yet? Register   Sign In
Conditional in a Foreach
#4

[eluser]skribe[/eluser]
Thanks. I had to wangle it a bit but I got it to work. For some reason $per was always returning a value (and therefore a size greater than 0) even when it appeared to be empty. I ended up checking $project->id and that works a treat.


Messages In This Thread
Conditional in a Foreach - by El Forum - 02-22-2011, 03:55 AM
Conditional in a Foreach - by El Forum - 02-22-2011, 04:22 AM
Conditional in a Foreach - by El Forum - 02-22-2011, 04:26 PM
Conditional in a Foreach - by El Forum - 02-22-2011, 10:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB