To "Array" or not to "Array".. THAT is the question
Posted 11 July 2006 - 08:21 PM
I'm not sure what I should do in this instance. So I'd like some input from the professionals.
I am setting up a little script that will take a word (set as a variable) and alter its spelling by adding some letters to the end of that word (variable). The endings to be added to each word are constant and will not change.
Is this something you would do with an array or is it best to just create another set of variables representing each ending? Which is the simplest way to go?
Thanks a lot!
Posted 11 July 2006 - 08:25 PM
Posted 11 July 2006 - 08:27 PM
$new_word=$existing_word . $letters;Is that what you're trying to do?
Posted 11 July 2006 - 08:33 PM
Posted 12 July 2006 - 05:10 AM
I used an array and it works perfectly. Thanks a lot for your help!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users