I have itinerary/tour page that contain number of sections: header. description, body, guide_details, footer
I would like to let my client to set the order - which section will appear first, second, third...
So I have array from DB that contain the number of each section. The number id the section position
Table itin_oreder:
clientID     header    description  body  guide_details footer
   6           1            3        2          4          5
$query = "SELECT * FROM itin_oreder WHERE client= 6 ";
$res = mysql_query($query);
I also have array that contain the content of each section:
itinContent = array ("header" => $header, "description" => $description....)
How do I print the array itinContent in the order that the client set?
 
    