What is the substitution of submit in PHP?
Answers were Sorted based on User's Feedback
Answer / binoyav
To my knowledge, header function won't submit the page.
Please clarify.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / shweta
<a href="javascript:document.formname.submit();">Submit</a>
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / narender
It is possible by using <a href=submit.php?val=name>.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / i_know_php_bit
there are two ways
1) Using Javascript-
form.submit();
2) Using CURL functions
| Is This Answer Correct ? | 2 Yes | 3 No |
Answer / abhishek anand
1We can use image element in form. In this case we use an
image instead of submit button.
<input type="image" src="my_pic">
2. Use Javascript formname.submit() method.
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / umesh
you can use Header
header("Location: nextpage.php")
| Is This Answer Correct ? | 4 Yes | 7 No |
How is the ternary conditional operator used in php?
what is code for email sending through localhost pc..?
How to set a page as a home page in a php based site?
how to convert PHP code in to java code
Which function parses an English textual date or time into Unix timestamp in PHP.
I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what’s the problem?
Is it possible to protect special characters in a query string?
Why many companies are switching their current business language to php?
how long a default session stay in php?
Write a program to swap two numbers using php.
How can you submit a form without a submit button?
What is session in c#?