Hi

visit http://servunity.in/old/test/form_classII.php

I need to print that web form and I successfully insert those field into database but I want both function in one submit(click) please help me on this.

Recommended Answers

All 3 Replies

You need to explain your problem a little better, tell us your problem and show us the code in question.

As far as printing the page that is more of a javascript function.
without seeing your code I cannot recommend proper placement...
but you can simply try to add:

onClick="window.print() 
to your submit button.
so:
<form method="post" action="somepage.php">
<input type="submit" name="submit" onClick="window.print()">
// will print the current page you are on (which is what I don't think you want)
so on 'somepage.php' or in your if(isset($_POST['submit'])) { // code...
echo "<script type=\"text\\javascript\">window.print()</script>";

hi there, this message is to anyone who could help me fix this problem i have. buy r4i card cheap r4 card best r4 card I'm trying to install a Broadcom Netextreme ethernet controller but everytime i do it i get the following message " The wizard was interrupted before broadcom Netextreme Ethernet controller could be completely installed" Your system has not been modified.

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.