example randomizing words to form a sentence

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Locked
icesha
Forum Newbie
Posts: 11
Joined: Tue May 01, 2007 3:15 am

example randomizing words to form a sentence

Post by icesha »

hello. can someone give me example regarding randomizing words from
the database to form a sentence. i need some example code to teach me how to do it.
the application should generate sentences randomly. i absolutely have no idea on how to start it.
i mean i dont know where i would create the sentence pattern then fetch it from the database and produce a correct pattern
and the output will be displayed on the database.
please. i need some help.please help me.please. thank you very much.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Duplicate. Locked.

viewtopic.php?t=69301
Locked