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

What would occur if a fatal error was thrown in your php program?

0 Answers  


Tell me what the difference between the 'bitwise and' operator and the 'logical and' operator?

0 Answers  


Does wordpress run on php 7?

0 Answers  


what is the default method of form in php?

6 Answers  


What is $_ get?

0 Answers  


What is an operator in php?

0 Answers  


Tell me which function gives us the number of affected entries by a query?

0 Answers  


Which have the fastest execution between mysql_fetch_array() and mysql_fetch_assoc()

0 Answers  


Tell me what does the initials of php stand for?

0 Answers  


Explain the ternary conditional operator in php?

0 Answers  


What are variables in research examples?

0 Answers  


write the function to fetch a image from mysql databases (datatype blob).

1 Answers  


Categories