Baqa
-
Posts
2 -
Joined
-
Last visited
Posts posted by Baqa
-
-
Hi every one,
I am in chapter 11 page 360 step 11 backing up database. Every things works perfect. The only problem I have is new line after wrtting each record to text file.
gzwrite ($fp, "\n");
This line of code is supposed to create a new line after each record but it does not. It mix up all the records.
Many thanks for your help
Ch11 New Line Character
in PHP Advanced and Object-Oriented Programming: Visual QuickPro Guide (3rd Edition)
Posted
Many thanks HartleySan
Your right I changed it from '\n' to '\r\n' now it is ok. The lines are breaking well.