Hi there, was wondering if somebody could help me.
I currently have a project to create a php/mysql system for a local pizza company, a touch screen system. Cut a long story short, I need to be able to print multiple lines from a txt file. I have got the php to output to txt file from mysqlusing variables and I can get the php script to print 1 line. As I am new I would imagine I would need some kind of loop maybe.
would be greatfull if somebody could help. (i am using a thermal receipt till printer)
for example
receipt.txt has content
receipt number: 24
time: 22:32
date: 22/09/2008
Delivery address
Name: joe blogs
house number:
street:
town/city:
Postcode:
Tel:
Order total
15" pizza £12
order total £12