1
I’m pretty new at PHP
, but I already know the basics of HTML
, and a large part of Ruby script
(nay ruby on rails
).
Well, you know, how can I generate a word or something random, you might say, but not so random. As if to generate a word from a "database". For example:
I define in my code two words: Parlance, Tongue and Lang.
I want to make php generate one of them, but not generate something like language, or anything other than Parlance, Tongue or Lang.
You have a list of words and want to choose one randomly?
– Papa Charlie
exactly. That’s what I need
– Samuel