On Wed, Apr 25, 2012 at 3:16 PM, Karl-Arne Gjersøyen
wrote:
> Hello again.
> I have a photo album that show all images in a specified directory.
> but I like to sort them by filename as one possibillity and random
> sort the photos as another feature.
> I don't know how to do this.. Here is my sor
Hello again.
I have a photo album that show all images in a specified directory.
but I like to sort them by filename as one possibillity and random
sort the photos as another feature.
I don't know how to do this.. Here is my soruce-code:
Bildegalleri
This didn't get answered before. I'm trying to sort an array but it
won't work.
$list = file('list_main.txt');
$list = sort($list);
If I print $list it gives me 1 and print $list[0] is nothing. The list_main.txt
looks something like this:
ABC
DEFG
HIJ
etc.
Jeff Oien
--
PHP General Mailing List
Could someone tell me how to sort this? Each $variable1 is a 3,4 or 5
letter string that I would like sorted alphabetically. I assumed "sort" would
do it but apparently it isn't the right type of array. Thanks.
$variable1 = split("\n", $variable);
Jeff Oien
--
PHP General Mailing List (http:
> I am doing a dir list of an ftp and using sort to sort the dir list
> alphabetically. What I am using now sorts it alphabetically but it sorts
> the capital letters then the lower case so a capital "Z" would come before
a
> lower case "a"
>
> The Code I am using is:
>
> sort($complete_list);
>
Hello,
I am doing a dir list of an ftp and using sort to sort the dir list
alphabetically. What I am using now sorts it alphabetically but it sorts
the capital letters then the lower case so a capital "Z" would come before a
lower case "a"
The Code I am using is:
sort($complete_list);
return $
6 matches
Mail list logo