|
Hi:
I'm using the following piece of code to print a form (HTML). Could you tell me whether I have it correct, or is something wrong with it?
echo "<form method=\"POST\" action=\"\">
<table width=\"100%\" border=\"3\" cellspacing=\"4\" cellpadding=\"2\" bordercolor=black align=\"center\">
<tr><th><input type=\"submit\" name=\"PRINT\" value=\"PRINT\" onClick=\"this.style.display=\'none\'; window.print()\"></th></tr>";
The slashes are being used because its part of PHP.
Thanks for your help!
Last edited by common_sense : 03-29-2005 at 02:50 PM.
|