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 singleton class in php?
Difference between array_combine and array_merge?
discuss the issue of software theft in ghana and how it has affected the economy
How to find second highest salary
hi to all i am fresher in php and want to learn php and want a fresher job in php. how to total time i expend to learn php and what is freshers salary.
Is php fully object oriented?
What is active record in php?
What is a stored procedure in mysql?
How can cross site request forgery csrf be prevented?
what do you mean by webserver's document root?
Where php language is used?
What are php magic quotes?