Jump to content

AllOtherNamesTaken

Members
  • Posts

    3
  • Joined

  • Last visited

  • Days Won

    1

AllOtherNamesTaken last won the day on June 30 2013

AllOtherNamesTaken had the most liked content!

AllOtherNamesTaken's Achievements

Newbie

Newbie (1/5)

1

Reputation

  1. @chriscloyd Oh god your quote.. I seem to end up with a lot more than 122 though..
  2. Alright, here is some code: <?php $xml = simplexml_load_file("data.xml"); $array = array(); foreach ($xml->children() as $child) { $array[$child -> Name] = $child -> Date; } foreach ($array as $x => $x_value) { //Looping through array... not sure how to sort it by date } ?>
  3. I am working on a event calendar thingy. I already can read, write, delete, etc. Only issue is, is that I want to echo them in order of coming up next, instead of the order I have saved (xml). Anyone have any suggestions? Extra Info: I loop through all the entries in the xml file to get the event.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.