Answer Posted / sei thu htun
You can use single button and use javascript for submit
eg.
<script type="text/javascript">
function submitform()
{
document.getElementById("your_form_id").submit();
}
</script>
//in html form
<input type="button" value="Submit" onclick="submitform();"/>
| Is This Answer Correct ? | 22 Yes | 2 No |
Post New Answer View All Answers
How do sessions work in php?
Is empty function c++?
How to remove blank spaces from the string?
Which of the data type is compound datatype supported by PHP?
Explain the difference between static and dynamic websites?
What are the rules for naming a php variable?
Does php have future?
What is php trait?
How can a cross-site scripting attack be prevented by php?
What is the difference between == and === operator in PHP?
How to insert an new array element in array?
How to send a cookie to the browser?
Does csrf token change?
What is pdo in php why use?
Tell me what should we do to be able to export data into an excel file?