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 |
What are the php functions?
What is php mean?
How to make a class in php?
What are escaping characters? Explain with an example?
How can we access the data sent through the url with the post method?
Which php framework is fastest?
client side scripting language Vs server side scripting language
Does php pass arrays by reference?
How to create an array in php?
How can we get the properties (size, type, width, height) of an image using PHP image functions?
How to communicate with sockets in php?
What is stdclass in php?