Thread: PHP Message
View Single Post
Old 16th May 2008, 08:45 AM   #3 (permalink)
Hayce
Senior Member
9,000rpm (S2000 Redline!)
 
Hayce's Avatar
 
Join Date: May 2005
Posts: 6,479
Location: Hamilton
Re: PHP Message

Your trying to iterate over an array that isn't populated.

wrap the foreach call in an if:

Code:
if (@$theArray){
foreach ($theArray as $arraySpot){
do stuff with the spot
}
}


EDIT: oh sorry didn't realize where this was posted haha.
__________________
..................EK molester!..................Total Performance Motorsport..................gtrefinishers
Hayce is offline   Reply With Quote