I do not want the code written for me. I am simply new at really writing code homemade. In as much as modifying pre-existing scraps is really where my prior knowledge rests.
My purpose and goal is to take information from a form, send it to my page and write it on the page without using a mysql db, because, I don't have one available to me unfortunately.. I figure flatfiles will be sufficient. My exact purpose for this system is to allow users to add words they've made up to my dictionary. Another goal would be for me to take these words and file them alphabetically on their corresponding page.
My questions are.. do you know of any functions that sort alphabetically.
Would it be wise to place each letter and words that go with it in an array, or how do you think I would find my quickes tand easiest fix?
Any help that can be provided, I am infinitely grateful for!
Stuck on where to go from here.
Moderator: General Moderators
Re: Stuck on where to go from here.
Yes, Sort does.akimm wrote:My questions are.. do you know of any functions that sort alphabetically.
Depends on how many words you anticipate. Keep in mind that some letters (RSTLNE) occur more often in the english language, and as a result, will be considerably larger than other letter files (QZ, etc).akimm wrote:Would it be wise to place each letter and words that go with it in an array, or how do you think I would find my quickes tand easiest fix?
- akimm
- Forum Contributor
- Posts: 460
- Joined: Thu Apr 27, 2006 10:50 am
- Location: Ypsilanti Michigan, formally Clipsburgh
ok.
Would I be better using a class file for my job.
And can I use flatfiles to store each array, or even more prevalent all the arrays, and then just output that information on the flatfiles for any one letter.
And can I use flatfiles to store each array, or even more prevalent all the arrays, and then just output that information on the flatfiles for any one letter.
- akimm
- Forum Contributor
- Posts: 460
- Joined: Thu Apr 27, 2006 10:50 am
- Location: Ypsilanti Michigan, formally Clipsburgh
by the way...
Thanks for the sort() I will keep that in mind when constructing my code.
- akimm
- Forum Contributor
- Posts: 460
- Joined: Thu Apr 27, 2006 10:50 am
- Location: Ypsilanti Michigan, formally Clipsburgh
"Roja"
I will not expect a large amount of words, and besides I have confidence in arrays.
A random quote generator I made has over 200 quotes in an array and it seems to operate rather fast.
A random quote generator I made has over 200 quotes in an array and it seems to operate rather fast.