replacing null values and line breaks in file
- From: "windandwaves" <nfrancken@xxxxxxxxx>
- Date: 22 Nov 2006 15:24:19 -0800
Hi Gurus
I want to replace null values with a space and line breaks with a |
symbol in a file. I have written the following function:
function replace_characters($path, $file) {
$str = file_get_contents($path.$file);
$str = str_replace("\r\n", "jjjjjjjjjjjjjj", $str);
file_put_contents($path.$file);
}
How do I replace the null value
TIA
Nicolaas
.
- Follow-Ups:
- Re: replacing null values and line breaks in file
- From: windandwaves
- Re: replacing null values and line breaks in file
- Prev by Date: Re: Firefox works and not IE
- Next by Date: Re: replacing null values and line breaks in file
- Previous by thread: Forms parsing and filling
- Next by thread: Re: replacing null values and line breaks in file
- Index(es):