fwrite($handle,$_POST["usersname"]);
I want to add a carriage return to the end of the data in the variable "usersname" but I do not know where to add the /n
oops i figured it out
fwrite($handle,$_POST["usersname"]."\n");
syntax question
|
Contributor
|
|
| 21Feb2010,09:01 | #1 |
|
Last edited by Toddie; 21Feb2010 at 09:10.. Reason: SOLVED |
|
Light Poster
|
|
| 1Mar2010,15:10 | #2 |
|
Hi,
I tried the below line in my program. It is working correctly. fwrite($file,$_POST["my_name"]."\n"); |
|
Skilled contributor
|
![]() |
| 1Mar2010,18:34 | #3 |
|
Contributor
|
|
| 1Mar2010,22:37 | #4 |
|
yeah, you can totally close this thread.
php noob that I am... i figured it out slightly after posting it since i tried a bunch of different combinations while i was waiting for an answer... and I got it to work. but GUESS WHAT... i have a new issue with another script. new thread appropriate. |


