User Profile

Collapse

Profile Sidebar

Collapse
JonB
JonB
Last Activity: Mar 28 '08, 12:15 AM
Joined: Mar 26 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • JonB
    replied to foreach nesting - 2 layers
    in PHP
    So aside from changing the $value in the inner foreach loop all looks okay?
    See more | Go to post

    Leave a comment:


  • JonB
    started a topic foreach nesting - 2 layers
    in PHP

    foreach nesting - 2 layers

    The examples I'm generally finding on the web of how to do nested loops are confusing and extremely scarce. Here's what I'm trying to do...

    I have an array named $data that I believe qualifies as a multidimensiona l array:

    $data=array( ID, Title, Description, UpdateID, Update, UpdateDate)

    This data is from a query of a MySQL database that linked 2 tables so in reality I have:

    $data[0]...
    See more | Go to post
No activity results to display
Show More
Working...