Hi everyone,
My php code is consisted of 2 buttons as follows:
<!DOCTYPE HTML>
<html>
<body>
<button type="submit" onclick="myPHP.php/'1'">Click Me!</button>
<button type="submit" onclick="myPHP.php/'2'">Click Me!</button>
</body>
</html>
When user clicks left button I want the script to run “myPHP.php” with ‘1’ as a parameter, with
right button clicked I want “myPHP.php” to run with parameter ‘2’.
Is it possible to do?
Could anyone kindly explain me how?
Thanks