i think my question is probably pretty simple, but i cant seem to find a solution that doesn’t look way too complex. basically im just trying to generate a random number (say between 1 and 100) and whatever that number is, i want to retrieve that line from a specified text file. i can generate the number, open the file and everything, it’s just a matter of getting one particular line.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Return only one line? | 0 | 90 | December 18, 2008 | |
Reading [PHP] in a textfile?
|
0 | 79 | August 31, 2007 | |
Reading from Text File | 0 | 71 | March 15, 2010 | |
TXT file to PHP array | 0 | 161 | June 28, 2013 | |
Get value in php file from a text field in swf | 0 | 113 | December 31, 2009 |