Link to home
Start Free TrialLog in
Avatar of jetleestye
jetleestye

asked on

Retrieve submited value of the submit botton.

Retrieve submited value of the submit botton.
Please don't user javascript

1st form

Form1.php

<form method="POST" action="didclick.php">
<input type="submit" value="ClickA" name="ClickA" >
<br>
<input type="submit" value="ClickB" name="ClickB" >
</form>


2nd form
didclick.php
<?php
Echo "Did click";
///something here
?>

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jetleestye
jetleestye

ASKER

thank you