lazer
10-21-2002, 11:37 AM
I dont know if this has been up in the forum.
I am currently building a picture gallery.
And I am searching a directory and listing all files it found in an array named phparray.
With this array I must somehow use it to view the pictures it found, and this must be done with javascripts.
I am using the echo function to return phparray[nr]
but this number (nr-) wont count up, I have tried to do the counter with javascripts, and with php but it wont count up.
my currently count function is:
$nr=$nr+1
but somehow this wont work.
Is there some other way to do it?
I am currently building a picture gallery.
And I am searching a directory and listing all files it found in an array named phparray.
With this array I must somehow use it to view the pictures it found, and this must be done with javascripts.
I am using the echo function to return phparray[nr]
but this number (nr-) wont count up, I have tried to do the counter with javascripts, and with php but it wont count up.
my currently count function is:
$nr=$nr+1
but somehow this wont work.
Is there some other way to do it?