I am not good with php I'll be honest. I had a snippet of code from a while back that actually works now but it randomizes the text instead of doing line by line 1 at a time. I need it to be balanced when rotating. Here is what I have:
$test = file('my_txt_file.txt'); $randomized = $test[ mt_rand(0, count($test) - 1) ]; Then I can echo $randomized as needed throughout my page. But like I said my issue is I DO NOT want it random, but line by line in order, looping endlessly. Any thoughts on this??