Jump to content

[SOLVED] Fwrite problems


talor123

Recommended Posts

Hey, could comeone tell me how to make it so when you use the "fwrite" function.. like so:

$message = $_GET["message"];
$file = "$messages.html";
$handle = fopen ("$file", "w");
fwrite ($handle, "Message: $message <br>");

that when it writes the message to "messages.html"  it will not overwrite the original "$message", it will add it to the next line...

 

thanks

Link to comment
https://forums.phpfreaks.com/topic/99777-solved-fwrite-problems/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.