walapu Posted August 15, 2009 Report Share Posted August 15, 2009 (edited) $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? Edited August 15, 2009 by walapu Link to comment Share on other sites More sharing options...
jeffman Posted August 15, 2009 Report 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 Report Share Posted August 15, 2009 Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now