How do you make a function read form a txt file and store random lines in a variable?

Posted by user309716 on Stack Overflow See other posts from Stack Overflow or by user309716
Published on 2010-04-06T04:35:24Z Indexed on 2010/04/06 4:43 UTC
Read the original article Hit count: 290

Filed under:
|
|

How do you make a function read form a txt file and store random lines in a variable? It will be run over and over in a foreach loop. The language is PHP.

Im a new coder so I don't know things like this off the top of my head.

© Stack Overflow or respective owner

Related posts about loops

Related posts about random-generator