View Single Post
Old 04-29-2012, 11:45 PM   PM User | #2
mooserider2
New to the CF scene

 
Join Date: Apr 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
mooserider2 is an unknown quantity at this point
Perhaps I could take the array made by json_decode() and do a foreach() but it is still nested strangely. Possibly a double foreach()? Like:

Code:
foreach($out["daily"] as $myarray) {
     foreach ($myarray as $key => $value) {
    
     }
}
I don't really know where to go from there. Possibly turn each part on the array into a string and put those strings into the database. How would I do that? Sorry I have been away from php for a while

http://www.webmasterworld.com/forum88/3811.htm this is what gave me the foreach() idea.
mooserider2 is offline   Reply With Quote