rossmcl
Programmer
- Apr 18, 2000
- 128
Hello
I have a text file with 100 lines of text.
I want to use a function in php to randomly select one of these lines of text every time my website is loaded, and display it on my website.
Is this possible with php? If so, how do I go about doing it?
(Sorry if this is a simple question, my knowledge of php is extremely limited)
Regards
rossmcl
I have a text file with 100 lines of text.
I want to use a function in php to randomly select one of these lines of text every time my website is loaded, and display it on my website.
Is this possible with php? If so, how do I go about doing it?
(Sorry if this is a simple question, my knowledge of php is extremely limited)
Regards
rossmcl