Thread: php help
View Single Post
  #3  
Old 07-12-2008, 04:05 PM
spider661
Discordant
 
Join Date: Oct 2005
Location: michigain
Posts: 260
Default

ok i tried doing a print_r($players); and got an error.

Warning: Invalid argument supplied for foreach() in E:\wamp\www\who.php on line 46

for each player online

btw this is after adding to my code so line 46 is the first line there.
foreach ($ret as $key => $value) {


what should i do and am i calling the print_r($players); correctly or should i do something else. im trying to print it so i can see all the values of the array so i can place them in the right tables
Reply With Quote