Search found 3 matches

by peterhere
Tue May 18, 2010 12:12 pm
Forum: PHP - Code
Topic: Random Sentences - Question
Replies: 4
Views: 760

Re: Random Sentences - Question

ok thx!
by peterhere
Tue May 18, 2010 10:54 am
Forum: PHP - Code
Topic: Random Sentences - Question
Replies: 4
Views: 760

Re: Random Sentences - Question

I don't know where to start. My php knowledge is not big enough right now. But from such a snippet i could learn more.
by peterhere
Tue May 18, 2010 10:36 am
Forum: PHP - Code
Topic: Random Sentences - Question
Replies: 4
Views: 760

Random Sentences - Question

Can somebody post a little php snippet for this? I have a textfile like this: I {love|like|need} {coffee|tea}. He is {cool|nice|awesome} {.|..|!} Are you {hungry|tired|angry}? The little php snippet should select one line of the textfile at random and create a random sentence from it, every time i s...