walapu Posted August 15, 2009 Share Posted August 15, 2009 $cq = fopen('confirmation_qoutes.txt', 'a') or die("can't open file"); fwrite($cq, ''); fwrite($cq, '%%'); fwrite($cq, trim($_REQUEST['quote']) . $creator); fclose($cq); This is returned as %%stuff but I want it as %%stuff how would I do this? Link to comment Share on other sites More sharing options...
jeffman Posted August 15, 2009 Share Posted August 15, 2009 Add a newline character:fwrite($cq, "\n");fwrite($cq, "%%\n");Make sure to use double quotes so the escape sequence is interpolated. Link to comment Share on other sites More sharing options...
walapu Posted August 15, 2009 Author Share Posted August 15, 2009 Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.