How do I make it access a file starting with a certain entry set by a form or url:
http://www.myserver.com/content.php?page=9
Then it would open entry 9 of the file. Help Please?
Thanks
~maximumbob
How do I make it access a file starting with a certain entry set by a form or url:
http://www.myserver.com/content.php?page=9
Then it would open entry 9 of the file. Help Please?
Thanks
~maximumbob
Is this a database call?
it will be saved to a txt file with the fwrite() command.
Pleeeeeeaaaaassseeee Help!
I need this info asap!
open the file and call fgets() 9 times to get the 9th line...
Diego
so I would use:
while ($i=0;i<$page;i++)
{
fgets($file)
}
Try...
$arrFile = file('file.txt');
echo $arrFile[$line - 1];