[PHP] Newlines in files

2001-10-03 Thread Big5ive
My Code: $PW_LIST=../config/pw.txt; $fp=fopen($PW_LIST,a); fputs($fp,$username=$pw\n); fclose($fp); This should make a newline after printing $username=$pw, shouldn't it!? But it doesn't!!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] Warning: unexpected regex error (14)

2001-09-30 Thread Big5ive
($fp, 4096); $list = split(|,$user, 3); echo tr align=lefttd$list[0]/tdtd$list[1]/tdtd$list[2]/td/tr; ? /table /body /html How can i fix this error? Content of members.txt is Big5ive|Admin|24.09.2001 The script should read the text file and split the content by | and write

[PHP] Writing newlines in files

2001-09-23 Thread Big5ive
:\Music|RLP; fwrite($fp,$data); fclose($fp); That's my code and i want to make newlines in the text file..the file is text//plain but instead of a newline there are some awesome letters.. Please help me.. -- Big5ive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail