give preference to print array values in php

Posted by Bharanikumar on Stack Overflow See other posts from Stack Overflow or by Bharanikumar
Published on 2010-05-04T08:05:01Z Indexed on 2010/05/04 8:08 UTC
Read the original article Hit count: 154

Filed under:
|

Hi ,

I have country table,

i fetch all values and moved into array ,

these value i like to populate into combo/dropdown list ,

here i want to do some magic things,

that is , for my site most of the users coming from uk,us,Australia,Romain and few,

So i like to populate by my preference ,

is there any array will do this magic work, else is it possible mysql query ,

So final question is ,

Populate country name into combo based on my prefernce ,

Thanks

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql-query