Gosh! JC, I used $_POST['textbox'] as an example for you. If you wish to end
your lines by "\r\n" instead of "\n" just do it, like here
$file_data = "editdate#".date('l d_m_Y')."\r\n";
And if you have some textareas on your HTML form, you can change them like
$_POST['textbox'] = str_replace("\n
eplace("\n", "\r\n", $_POST['textbox']);
if (fwrite($handle, $file_data) === FALSE)
{
echo "Cannot write to file ($file_location)";
exit;
}
fclose($handle);
} else {
echo "The file $file_location is not writable";
}
}
-
Submit you're code to the list and let's see if we can help you.
JC Botha wrote:
Dear Rosty
Thanks for your input, but it does not change the situation at all! :(
Please let me know if there is something else that you think about.
Greetings
JC
-Original Message-
From: Rosty Kere
Dear Rosty
Thanks for your input, but it does not change the situation at all! :(
Please let me know if there is something else that you think about.
Greetings
JC
-Original Message-
From: Rosty Kerei [mailto:[EMAIL PROTECTED]
Sent: 08 November 2005 01:32 PM
To: php-windows@lists.php.ne