Looking for free form submit php script?
Suggest me free form submit php script i want to use in my sites.
Tapan Sant
Director of ITMatchOnline-Outsourcing Portal.
Printable View
Looking for free form submit php script?
Suggest me free form submit php script i want to use in my sites.
Tapan Sant
Director of ITMatchOnline-Outsourcing Portal.
Sorry but could you please elaborate? It's not very clear what you need to be able to do with PHP.
Edited: Forms are submitted using HTML submit buttons or javascript to do the same thing. These things are client-side (meaning the user side) but PHP is server-side so it cannot submit a form, only receive data sent from one.
Think he's asking for a premade php form for submitting data. Don't think there are any premade 1's out there. And i don't think anyone here will code the form for you.
Don't mix the concepts:
The form is HTML, Javascript submits the form and PHP manipulates the content of the form on the server. There's no PHP form, unless it's generated by it.
Just do it yourself, it's fun. Depending on the level of the complexity, it is almost always the same. It begins with:
Code:
<SCRIPT Language="JavaScript">
function TellJavaScripttoCallServerSideScript()
{
...
document.form.submit();
}
</SCRIPT>
<form name="form" action="GiveMeSomeHTMLResult.php" method="post" target="_self">
...
<INPUT TYPE="BUTTON" ONCLICK="TellJavaScripttoCallServerSideScript();"
</form>
Why submit it with Javascript when you can do it with HTML? :rolleyes:Quote:
Originally Posted by davidc2p
tapansant: do it yourself and when you hit a problem post here. :)
Sometimes you need to submit using Javascript. For example, you might need to do some javascript validation and if there are no problems then submit the form.Quote:
Originally Posted by visualAd
You should use the submit event of the form to do that, not a button. If Javascript is disabled on the client there is no way the user can submit the form and validation should always be done on the server as well as the client.Quote:
Originally Posted by Nibinaear