![]() |
syntax question
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"); |
Re: syntax question
Hi,
I tried the below line in my program. It is working correctly. fwrite($file,$_POST["my_name"]."\n"); |
Re: syntax question
Quote:
|
Re: syntax question
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. |
| All times are GMT +5.5. The time now is 18:31. |