movieprodw
asked on
PHP, create multi-page txt file
Hello,
I have a list of names and addresses in my db, I would like to be able to output a multi-page txt file so that each name and address in on a separate page.
How do I create a multi page txt file using php?
Thank you,
Matt
I have a list of names and addresses in my db, I would like to be able to output a multi-page txt file so that each name and address in on a separate page.
How do I create a multi page txt file using php?
Thank you,
Matt
Can you provide more detail about what you need? A txt file has nothing but characters and line breaks. It doesn't contain formatting or styles, or layout such as page breaks. Please describe in detail the type of file you wish to generate.
ASKER
Hello,
I am using a label printer and it will print each page as a label so I just need the txt file or even a pdf file (whichever is easier) to create one document that is broken up by pages.
Example:
Username
Birthdate
phonenumber
(NEW PAGE)
Username
Birthdate
phonenumber
(NEW PAGE)
Username
Birthdate
phonenumber
(NEW PAGE)
Username
Birthdate
phonenumber
(NEW PAGE)
I am using a label printer and it will print each page as a label so I just need the txt file or even a pdf file (whichever is easier) to create one document that is broken up by pages.
Example:
Username
Birthdate
phonenumber
(NEW PAGE)
Username
Birthdate
phonenumber
(NEW PAGE)
Username
Birthdate
phonenumber
(NEW PAGE)
Username
Birthdate
phonenumber
(NEW PAGE)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Already have it up and running, as usual you have saved me lots of time, thank you Ray!
Thanks for the points, and best of luck with your project, ~Ray