Beauford.2005 <[EMAIL PROTECTED]> wrote:
> I have a file that has the 130 lines which follows the example below.
> 
> <Option Value="146">Barnaby
> 
> What I need to do is read this file, remove one line, add another line,
> and then resave it. I have tried the different fget functions etc. to
> read the file, but all I get is the name part and nothing else. I am
> assuming it has to do with the <,", or = in the line, so how would I
> read in the entire line.
 
hmm, are you printing the results of fgets to the browser?  If you are
check the source, the browswer wont display the stuff between <>

or use htmlentities on the string before printing it.

 
Curt
-- 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to