开发者

how to print a php page with table data

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜