How can we submit a form without a submit button?

Answers were Sorted based on User's Feedback



How can we submit a form without a submit button?..

Answer / patahul abas

<a href="<?php echo $_SERVER['PHP_SELF']; ?>">POST IT</a>

Or you can do this

<a href="abc.asp">POST IT</a>

Or

<a href="abc.php">POST IT</a>

Is This Answer Correct ?    0 Yes 4 No

How can we submit a form without a submit button?..

Answer / ragavan

using php page transfer code:
header(Location:example.php)

Is This Answer Correct ?    2 Yes 7 No

How can we submit a form without a submit button?..

Answer / parag kuhikar

<form >
<select name="select" onchange="form.action='a.php'">
<option value="yes">yes</option><option
value="no">no</option></select>
<input type="image"
src="../../../Users/Dell/Desktop/images/Avatar Movie
Wallpaper 3.jpg" height="10" width="10" />
</form>

Is This Answer Correct ?    0 Yes 9 No

Post New Answer

More PHP Interview Questions

Does https prevent csrf?

0 Answers  


Explain converting an object?

0 Answers  


iam mca post graduate in 2010 not getting job in JAVA so iam looking for carear in php as market demand is high so it is best option to try for php or not

0 Answers  


What is the use of "enctype" attribute in a html form?

0 Answers  


What is an example of a variable?

0 Answers  






Differences between get, post and request methods ?

0 Answers  


What is the best php version for wordpress?

0 Answers  


Can we use onclick in submit button?

0 Answers  


Declare a new variable in php equal to the number 3;

0 Answers  


Write a program to display a table of any given number?

0 Answers  


Do you know design patterns. List few?

0 Answers  


Why do we use in php?

0 Answers  


Categories