a2rodger Posted February 24, 2008 Share Posted February 24, 2008 I am trying to loop through the following array and store the date and count for each result in my mysql database. Please Help! 1. Array 2. ( 3. [result] => Array 4. ( 5. [queryterm] => Britney Spears 6. [days] => 7 7. [searchurl] => http://technorati.com/search/Britney+Spears 8. ) 9. [item] => Array 10. ( 11. [0] => Array 12. ( 13. [date] => 2008-02-24 14. [count] => 889 15. ) 16. [1] => Array 17. ( 18. [date] => 2008-02-23 19. [count] => 2403 20. ) 21. [2] => Array 22. ( 23. [date] => 2008-02-22 24. [count] => 2539 25. ) 26. [3] => Array 27. ( 28. [date] => 1985 29. [count] => 1775 30. ) 31. [4] => Array 32. ( 33. [date] => 2008-02-20 34. [count] => 1231 35. ) 36. [5] => Array 37. ( 38. [date] => 2008-02-19 39. [count] => 2814 40. ) 41. [6] => Array 42. ( 43. [date] => 2008-02-18 44. [count] => 2510 45. ) 46. ) 47. ) Link to comment https://forums.phpfreaks.com/topic/92800-loop-through-array-and-store-results/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.