can any plzzzzzzzzz help me out !!!!!!!1111

i need to add print button in my page that will print the hole page with imags and txt everything. but the code should be simple plzzzzzzzzzzzz help meeee

I have php page which the data in the page are extracted from MYSQL
database.
The data are retrieved when user click submit button .
In the php page , there is a print button for user to print the php
page.

<a href="javascript:window.print()">Click to Print This Page</a>

it will aslo print the img too?????

Did you try it ?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.