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 is string in php?
Which functions are used to count the total number of array elements in php?
How can we submit a form without using submit buttons?
How can php and javascript interact?
What is $_ get and $_ post in php?
What does namespace mean in php?
Tips to optimize the php script..... Suggestion for exception handling in php...
Inside a php function, what param needs to be set in order to access a global variable?
Which is true about the singleton design pattern?
Explain how you can update memcached when you make changes to php?
Explain the difference between static and dynamic websites?
How to move uploaded files to permanent directory?