yusufhermanto Posted May 26, 2007 Share Posted May 26, 2007 Hi all, how to print data on php ? Link to comment https://forums.phpfreaks.com/topic/53054-how-to-print-data/ Share on other sites More sharing options...
kenrbnsn Posted May 26, 2007 Share Posted May 26, 2007 You use one of the following: echo print printf Ken Link to comment https://forums.phpfreaks.com/topic/53054-how-to-print-data/#findComment-262080 Share on other sites More sharing options...
per1os Posted May 26, 2007 Share Posted May 26, 2007 <?php echo 'Hello World!<br />'; echo("Hello World!<br />"); echo "Hello World!<br />"; print "Hello World!<br />"; print("Hello World!<br />"); print 'Hello World!<br />'; ?> Link to comment https://forums.phpfreaks.com/topic/53054-how-to-print-data/#findComment-262081 Share on other sites More sharing options...
yusufhermanto Posted May 26, 2007 Author Share Posted May 26, 2007 <?php echo 'Hello World!<br />'; echo("Hello World!<br />"); echo "Hello World!<br />"; print "Hello World!<br />"; print("Hello World!<br />"); print 'Hello World!<br />'; ?> i want to print my document to printer Link to comment https://forums.phpfreaks.com/topic/53054-how-to-print-data/#findComment-262102 Share on other sites More sharing options...
per1os Posted May 26, 2007 Share Posted May 26, 2007 www.php.net/printer will only work on your home computer with the right drivers isntalled. I also think it is strictly for windows. Link to comment https://forums.phpfreaks.com/topic/53054-how-to-print-data/#findComment-262111 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.