Jump to content

lilya

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

lilya's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello I want to read an element from my file bob.xml: <momenta> 3.434 3.563 4.197 4.223... </momenta> into a php array $momenta = array(3.434, 3.563, 4.197, 4.223,...); How can I do this efficiently? Many thanks Lily
  2. Hello. I wonder if someone could help me in the right direction with this. I have four (large) arrays: array($key1,$key2,$key3....); //(keys are ints from 1,2..) array($a1,$a2,$a3....); // ($a*,$b*,$c* are doubles) array($b1,$b2,$b3....); array($c1,$c2,$c3....); //what I want: $unsorted = array( $sub1 = array($key1,$a1,$b1,$c1); $sub2 = array($key2,$a2,$b2,$c2); $sub3 = array($key3,$a3,$b3,$c3); ... . . ) Many thanks Lily
×
×
  • 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.