Jump to content

maxodoe

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

maxodoe's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. When I copy files to my webserver they (sometimes!) become empty. Does anyone know what might cause this? The files are .php and I move them by copying to a webfolder. /Max
  2. Now I understand how to use the sort function. And the usort solution works fine when I want to use a second key as well. I almost gave up, but now I'm a happy man. Thank you very much for explaining everything! /Max
  3. I had been working on this for days but couldn't make it work. But your usort solution worked like a clock and solved everything. A million thanks!!!! About the sort($scores); function: Is there any way to change the key by which it sorts? Again thank you so much for your help! /Max
  4. I need to sort the following array, first by score then by name. I am just starting to learn PHP and everything worked just fine until this. Can anyone help me? $scores[0]['name'] = 'Michael'; $scores[0]['score'] = 13; $scores[1]['name'] = 'Fred'; $scores[1]['score'] = 15; $scores[2]['name'] = 'Mary'; $scores[2]['score'] = 19; /Max
×
×
  • 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.