943,186 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 1738
  • PHP RSS
Jun 17th, 2010
0

Print Page with PHP

Expand Post »
Hey guys I am scripting with PHP and I need to write a web page that has a print page link which when clicked prints out a print friendly page. Thanx in advance.
Similar Threads
Reputation Points: 10
Solved Threads: 4
Light Poster
aMOEBa is offline Offline
32 posts
since May 2010
Jun 17th, 2010
0
Re: Print Page with PHP
And your question is?
Reputation Points: 210
Solved Threads: 228
Nearly a Posting Virtuoso
chrishea is offline Offline
1,389 posts
since Sep 2008
Jun 18th, 2010
0
Re: Print Page with PHP
This can be done using java script.
PHP Syntax (Toggle Plain Text)
  1. <a href="whatever.htm" onClick="window.print();return false"><img src="print.gif"></a>
Reputation Points: 154
Solved Threads: 162
Master Poster
vibhadevit is offline Offline
791 posts
since Apr 2010
Jun 18th, 2010
0
Re: Print Page with PHP
I want to print the page with PHP in cae javascript is disabled on the client's machine. I don't know but I am sure there is a way to do this in PHP.
Reputation Points: 10
Solved Threads: 4
Light Poster
aMOEBa is offline Offline
32 posts
since May 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: how to count no of fields in a perticular database and in a perticular table??
Next Thread in PHP Forum Timeline: Content Aggregator





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC