
Hi, I have a function xyz() in php code. When a button is clicked it should execute that particular function for that i have written as
<form action="<?=$_SERVER['PHP_SELF'];?>" method="post">
<input type="button" name="submit" value="Submit"/>
</form>
<?php
if(isset($_POST['Submit'])) {
xyz();
}
?>
and then my function
function xyz()
{
}
but this is not working
can u tell me the solution asap.. Thanks in advance
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
