Search Results

Search found 3 results on 1 pages for 'fearghal'.

Page 1/1 | 1 

  • PHP Sort Array based on values in another.....

    - by Fearghal
    Need some help regarding array sorting.... I have two arrays. The main one (where the key is the user id) : $user[31] = 'Tom' $user[43] = 'Jane' and another array with the order they should be displayed (where key is the order and value is the user id) : $order[1] = 43 $order[2] = 31 How can I apply the ordering to the main array using the ordering one? Thanks guys!

    Read the article

  • php array key issue

    - by Fearghal
    Hi guys.. ok so i have the following array: 0 - 208533 1 - 208523 2 - 208522 3 - 208572 4 - 208518 5 - 208501 6 - 208534 7 - 208499 All i need is a quick function that'll start the array key at 1 rather than 0. eg: 1 - 208533 etc Any ideas? Thanks!

    Read the article

  • javascript htmlDivElement problem

    - by Fearghal
    Hi guys, I have a htmlDivElement (with no id) - and I'm trying to access and change the style of it.. Problem is everything I try returns 'Undefined' when i try to alert it Eg: alert (htmldivelementobject.className) I've also tried getAttribute but it returns the same thing... Where am I going wrong? F

    Read the article

1