yusufhermanto Posted May 26, 2007 Share Posted May 26, 2007 Hi all, how to print data on php ? Quote 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 Quote 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 />'; ?> Quote 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 Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/53054-how-to-print-data/#findComment-262111 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.