Random two word changer (3 times random)
Posted: Mon Nov 01, 2010 9:00 pm
Hi all,
PHP noob here; I am wanting to know if anyone could help me out with a little thing I am trying to accomplish.
What I need help is I need to change two words each time a page on an html site is refreshed. At random one of the three, two words will be displayed in a paragraph of text. Like so:
1st Option -
This a text in a paragraph.This a text in a paragraph.This a text in a paragraph. The sky is blue.
2nd Option -
This a text in a paragraph.This a text in a paragraph.This a text in a paragraph. The sky isn't red.
3rd Option -
This a text in a paragraph.This a text in a paragraph.This a text in a paragraph. The sky looks green.
I've done the best I could to explain this, let me know if you have nay more questions!
-Eugene
PHP noob here; I am wanting to know if anyone could help me out with a little thing I am trying to accomplish.
What I need help is I need to change two words each time a page on an html site is refreshed. At random one of the three, two words will be displayed in a paragraph of text. Like so:
1st Option -
This a text in a paragraph.This a text in a paragraph.This a text in a paragraph. The sky is blue.
2nd Option -
This a text in a paragraph.This a text in a paragraph.This a text in a paragraph. The sky isn't red.
3rd Option -
This a text in a paragraph.This a text in a paragraph.This a text in a paragraph. The sky looks green.
I've done the best I could to explain this, let me know if you have nay more questions!
-Eugene