how to get print dialog box through php.
that's mean when i click the submit button named as print .
then it will show the print dialog box.

Not too sure about this one. Remember, php executes from the server. You'll want a script that executes from the browser to perform a print. The basic idea is:

<input type="button" value="Print" onclick="window.print()" />
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.