English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

when you use this line

fputs($file,"Value"); how do you put a
char(13) cartage return on the end

2007-03-29 11:56:03 · 3 answers · asked by bigjoe11a 2 in Computers & Internet Programming & Design

Ok, its just you didn't give me
a code to use
How do I add it to my code

fputs($file,"Value") and then what

2007-03-29 13:16:10 · update #1

3 answers

fputs($file,"Value" . chr(13));

or

fputs($file,"Value\r");

__________

2007-03-29 17:49:04 · answer #1 · answered by NC 7 · 1 0

Use /n to add a newline or chr(13).

2007-03-29 19:24:19 · answer #2 · answered by Linux OS 7 · 0 0

Newline = \n
Carriage Return = \r

For newline and carriage return = \n\r

2007-03-29 20:10:29 · answer #3 · answered by Anonymous · 0 0

fedest.com, questions and answers