Calling a function

Calling a function

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

View Answers

Ads









Related Tutorials/Questions & Answers:
Calling a function
Calling a function  Hi, I have a function xyz() in php code. When a button is clicked it should execute that particular function for that i have... function function xyz() { } but this is not working can u tell me
ModuleNotFoundError: No module named 'seaborn-calling-function'
ModuleNotFoundError: No module named 'seaborn-calling-function'  Hi...: No module named 'seaborn-calling-function' How to remove the ModuleNotFoundError: No module named 'seaborn-calling-function' error? Thanks  
Advertisements
Error in calling javascript function from java
Error in calling javascript function from java  I am callin javascriot function from applet and getting error netscape.javascript.JSException: Unexpected error: This method should not be used unless loaded from plugin.jar
calling a javascript function by passing multiple values from applet in web application
calling a javascript function by passing multiple values from applet in web application  Hi all, I have a requirement like this, I have to call a javascript function from JApplet by passing 3 values. I am new to Applets
How to change the value of a variable which is set in jsp (by jstl method) by calling the function from js?
) by calling the function from js?  How to change the value of a variable which is set in jsp (by jstl method) by calling the function from js? I set... the value of 'name1' as "Edit User" when calling the editUser function which
function
function  difference between function overloading and operator overloading
video calling
video calling  how to implement video calling using java? i am a final year mca student please give me some samplecodes
video calling
video calling  how to implement video calling using java? i am a final year mca student please give me some samplecodes
Calling Destructor
Calling Destructor  How can i call destructor in java using System.gc() or manually. Please anyone give me a example program   Java is a garbage collected language therefore you cannot predict when (or even
calling setInterval() on onclick event
calling setInterval() on onclick event  Hi all, I am trying...; var xmlHttp; function postRequest...); } function stateChange
calling servlet from jsp
calling servlet from jsp  how to call a servlet from jsp
calling a java file in java
calling a java file in java  how to call a another java file in java
Calling from JSP
Calling from JSP  how can we call a class file from JSP   Hi, Do you want to call a servlet or a Java Bean through JSP? Please clarify this. For more information, visit the following link: JSP Tutorials Thanks
Calling servlet from servlet .
Calling servlet from servlet .  How to call a servlet from another... ServletException, IOException { System.out.println("Calling another servlet by using...); System.out.println("Calling another servlet by using SendRedirect
Calling Constructor in Spring
Calling Constructor in Spring       In the given example you will be learning about a constructor and how to call a constructor in the Spring. Declaring constructor injection
Calling awt Frame methods from subclass
Calling awt Frame methods from subclass  Calling awt Frame methods from subclass
function addValue
function addValue  i have question about the javascript the function addvalue script is working to add some name but is not save on the html so please resolve my problem what can i do for addvalue function will be to save
function addValue
function addValue  i have question about the javascript the function addvalue script is working to add some name but is not save on the html so please resolve my problem what can i do for addvalue function will be to save
function addValue
function addValue  i have question about the javascript the function addvalue script is working to add some name but is not save on the html so please resolve my problem what can i do for addvalue function will be to save
Calling a jsp page from Servlet
Calling a jsp page from Servlet  How can I do this? Suppose I have jsp page aaa.jsp. From aaa.jsp on form action I have made a call to a servlet xxx.java. In xxx.java I have written code to retrieve data from database through
function method
function method  input Rs. 12000 Discount= 10%, 8% = Rs.(12000-1200) = Rs.(10800-864) = Rs. 9936
function method
function method  input Rs. 12000 Discount= 10%, 8% = Rs.(12000-1200) = Rs.(10800-864) = Rs. 9936
using function
using function   using a function to find the value of v from the foiiowing expression 1v=1u+1*f
If function in PHP
If function in PHP  Hi, Provide me the example of If function in PHP. Thanks   Hi, If function is PHP is used to check for some condition and the execute a block of code. He is an example of if() function in PHP
calling one jsp from another jsp page
calling one jsp from another jsp page  need coding for calling one jsp from another jsp including the xml file.Its urgent
disable function
disable function  Sir, I have called a java script function when one radio button is checked i want to disable this function when another radio button is checked ,both radio buttons are of same group Please help Thanks in advance
ModuleNotFoundError: No module named 'django-countries-with-calling-codes'
ModuleNotFoundError: No module named 'django-countries-with-calling-codes' ...: ModuleNotFoundError: No module named 'django-countries-with-calling-codes' How to remove the ModuleNotFoundError: No module named 'django-countries-with-calling
ModuleNotFoundError: No module named 'sequana-variant-calling'
ModuleNotFoundError: No module named 'sequana-variant-calling'  Hi...: No module named 'sequana-variant-calling' How to remove the ModuleNotFoundError: No module named 'sequana-variant-calling' error? Thanks   
calling servlet from JS and return response from servlet to JS
page when user clicks on a button i am calling a javascript function(eg myFunc...calling servlet from JS and return response from servlet to JS  hello...) to the function myFunc and the myFunc will load that file(url) on the same webpage using
unoin function
unoin function  how to define a union function in java?(ex:a=a U b) how to write tha java code?give ex.   Java Union Function You have learnt union, intersection etc in Sets. Here the given code finds the union of two
Append Function in Java
Append Function in Java  What is the use of append function in java? How to use the append function to append a string to a buffer string. Thanks... through calling the toString() on the StringBufferobject. Use StringBuffer is very

Ads