Peachpie:(DevDigs/Dallas website Development)
raising more detail well now here's a quick overview of thisphrase peace be we define a new miracle using victoria day and then inside
the around like yes we have our valleys and the mary these are automatically
created for us when we do china numerically and if we wanted to create in
associate a very we use the same cure day and then inside the round records
was specify what the key names or in the single double quotes and then we
use the rocket and probably that by the value so let's go ahead and start
coating so here's what we're going to be creating i'm going to be we're
going to be a reading these files and images inside a new miracle a and
peachpie and then we all will create a associative parade out of it and then
finally we're going to that we're going to create a nice email table out of
the associated my is going to look something like ~~~~~~~ so it's pretty
nice looking html table and we're going to i wish that with piece bees right
the start coding so first of all again put up the she takes here so my the
directory of the movies where those files are located is inside the movies
folder so i'm going to specify their director you've within variable and i'm
going to use a function called sand area which is [UM] this functions can
there and it's going to read the directory and is going to put all the files
and that the or a so here's what is going to look like if we print out that
follows or raise the clothes that and i'm also get have used the function
called down we are that have to find earlier in an the video so we can print
out the pre tags automatically so once we use a scanned their function
here's what they are raise going to look like as you can see it has and read
all the file names into a and and it's created a numeric or a out of it now
let's go ahead and remove those dots in the first two keys of the array and
for that we can use a function called did so we're going to save files which
is our age and then from did and i'm going to specify the or a which is our
exists in area and then for the second one i'm going to specify not a and
the values so what the every underscored dysfunction does is that compares
that too js together compares the first to which is files and the second one
that have created here and it returns and the way which is going to we've
which is going to have all the values but the ones that are specified in a
second they right so as you can see have printed here and it's the dots are
no longer there so as you can see also it it's not starting from from he's
zero and one instead of starting from two and before we start looking
through this i want to reset the keys and for that isn't that a function
cold i'm going to say file files equals or a values and in files so that
will reset the count back to zero and so the function is for as you can see
it's starting from zero now and now we already to work with this new mary
crane some is going to comment out all these printing functions and what i'm
going to do here is i'm going to create another very cold movies and what is
going to look through this new mary called files with all was fine names and
we're going to put it all inside this movies and i'm going to create a
associate me and and you'll be a lot easier to work with once we started
creating our asian email tables so was going to create a loop and for a loop
and to say and files on what the count function does is just counts the fire
a returns how many elements or inside their age so that we can and now i
went to end a loop once the
Written by Devdigs (Dallas Website Development)

No comments:
Post a Comment