hi, i have a file that look something lk this:

$name[0] = "blah";
$address[0]="blah";
$country[0] = "blah";

$name[1] = "blah";
$address[1]="blah";
$country[1] = "blah";

$name[2] = "blah";
$address[2]="blah";
$country[2] = "blah";

....and so on, i want to sort the $name array in alphabetical order...but i don want to mess up the address and county arrays. anyone know how to do that? :( :?:

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.