Hello all.. I was wondering if there was a way to load different paragraphs say 5 or 10 to different pages using a text document. I am pretty new to php and have read alot, but seem to be missing something. I can get the whole doc to load of course, but cant seem to get it to stop where I want. I am new and have been reading, but I missing something.. I am real new at this and I think I have read so much I am at a total loss. Is there a simpler way to do this?
thanks in advance!
here is the code I got from the net since I am new at this:
$handle = fopen($textfile, "r");
$contents = fread($handle, filesize($textfile));
$content = explode("&noah=", $contents);
just plain text document with multiple paragraphs
&noah= blah blah approx 400 characters.
&sarah= blah blah approx 300 characters.
and about 10 paragraphs below
full paragraph displayed on data specific web page only pertaining to that web page