G'day everyone, I have a .txt file and want to get line X from it. Something like:
"list.txt":
Line1
Line2
Line3
"file.php":
$line = 1;
echo "getLine("list.txt", $line)";
Basicly I want it to echo "Line2". Any ideas what function I can use in "file.php"?