How I can sort and print following arrays, any idea?
array1 = ["John","4","Friend"] array2 = ["Dave","1","Boss"]
For eg. those numbers are sorting criterias and print result would be:
"Dave","1","Boss" "John","4","Friend"
Thanks..
i think a multidimentional array would get you started. This would mean that the array would look like this...
array[$id][$detail];
That should get you started. This means that each record has a key or id.
hope this helps skripty