I'm fairly new to html & php, so I don't know if this is possible...
Trying to add another button to an html form to call a php which is not the "<form action" of the page. Besides the default Submit & Reset buttons (which work fine), I need a Help button. I'm testing the 'Help' button by trying to call a page that has the:
<?php
echo phpinfo();
?>
In my html page, I've added...
<BUTTON name="help" type="button"> Help <img src="images/button.gif" a href="info.php" alt="Explanation" border=0></a></BUTTON>
The submit fires another .php just fine. The reset clears the form. Also the info.php fires fine when I point my browser to it, but cannot figure how to get the button launch. Thanks in advance - Keith
Trying to add another button to an html form to call a php which is not the "<form action" of the page. Besides the default Submit & Reset buttons (which work fine), I need a Help button. I'm testing the 'Help' button by trying to call a page that has the:
<?php
echo phpinfo();
?>
In my html page, I've added...
<BUTTON name="help" type="button"> Help <img src="images/button.gif" a href="info.php" alt="Explanation" border=0></a></BUTTON>
The submit fires another .php just fine. The reset clears the form. Also the info.php fires fine when I point my browser to it, but cannot figure how to get the button launch. Thanks in advance - Keith