Hello all,
I have made a tree which dispay the buttons according the selection of a user. The user preferences is stored in cookies and when he finished, A tree will be displayed,let me clearyfy it..
I have a stored the information in cookies with sequence. ..like..home,aboutus,contactus..in a cookies "pages[]"..and now I retrive the cookie ..
$first=$HTTP_COOKIE_VARS["pages"];
while(list($key, $value) = each($first))
{
echo ($value);
}
it displays tree "Fine" according to index on my local server but on my "Web Server" it shows the sequence like.. contactus,aboutus,home.... I want the "home" first.. Where I am wrong.
Any Idead
Tabish