Jump to content

Submit Button


Randy

Recommended Posts

Hi,

You could try this:
[code]
<form name="nameOfTheForm" action="phptest1.php" method="POST">
<input type="hidden" name="msg" value="This is the message and it would probably be too long to use GET"/>
<a href="javascript :document.nameOfTheForm.submit();">submit</a>
</form>
[/code]

(Remove the blank after 'javascript' and before ':')

Link to comment
https://forums.phpfreaks.com/topic/4452-submit-button/#findComment-15477
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.