Lineman Posted June 22, 2008 Share Posted June 22, 2008 I have been learning how to create associative arrays and so far so good. I have managed to create an associative array detailing computer parts and printing out their prices. But now i would like to learn if possible how to print out (via the printer) all sales for a certain date. I just want an idea how this maybe set up, please. Link to comment https://forums.phpfreaks.com/topic/111376-associative-arrays/ Share on other sites More sharing options...
.josh Posted June 22, 2008 Share Posted June 22, 2008 can't do that with php. You can have javascript call the client's built in printer print function if security on the browser doesn't have that disabled. Link to comment https://forums.phpfreaks.com/topic/111376-associative-arrays/#findComment-571729 Share on other sites More sharing options...
Lineman Posted June 22, 2008 Author Share Posted June 22, 2008 Trust me to be an over ambitious numpty, lol. Thanks for the reply anyway Crayon Violent it was appreciated. Link to comment https://forums.phpfreaks.com/topic/111376-associative-arrays/#findComment-571735 Share on other sites More sharing options...
Barand Posted June 22, 2008 Share Posted June 22, 2008 I always generate and download a PDF file for printed reports. The client can then print it, save it, send it, whatever they want. www.fpdf.org Link to comment https://forums.phpfreaks.com/topic/111376-associative-arrays/#findComment-571829 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.