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 |
Define urlencode() and urldecode() used in php?
How to declare an array in php?
what is magic code ?
4 Answers eVenturers, iFlash, Zynga,
How to find the index of an element in an array php?
What are html entities?
How is it possible to know the number of rows returned in the result set?
Which of the data type is compound datatype supported by PHP?
What are the ways we can destroy a session variable ?
Explain different types of errors in PHP (i.e. arguments in errorreporting function)?
8 Answers Base2 Infotech, DCI, Microsoft, Tata Elxsi,
What is the role of php?
What is php session id?
What are the design patterns in php?