开发者

how to print a php page with table data

开发者 https://www.devze.com 2023-02-21 09:22 出处:网络
I have a search results in a form which displays a particular persons details. Here what I need is I开发者_开发技巧 should have a print page button and print that search result.

I have a search results in a form which displays a particular persons details. Here what I need is I开发者_开发技巧 should have a print page button and print that search result. How is that posible in PHP?


You can use the file -> print from the browser and use a CSS print

If you want a button to print on the website, you will have to use Javascript

<form><input type="button" value=" Print this page "
onclick="window.print();return false;" /></form>
0

精彩评论

暂无评论...
验证码 换一张
取 消