I'm trying to learn the array functions & there's just something that I can not nor find arround nor understand by myself. How can I personalise the sorting of an array like those here:
array('zebra-88','italia-21','europe-71','chair-42','car-56',php-11');
sorting from the beginning in the a b c order is okay,... but when you have to personalise everything and make an output like this order here:
php-11
italia-21
chair-42
europe-71
zebra-88
Or even worse like php58adv fta44eng aft33fta etc. to sort into this order:
aft33fta
fta44eng
php58adv
Is there a function to sort that in automatic? Or do you have to create a new function? How & on which criteria?
& if you wanna remove only one in it like the fourth one chair-42
array_delete[4];
What's the alternative for it? For eliminating it?
Thanx. Cheers.