Log in

View Full Version : need help with a function



ragy
12-01-2010, 08:23 AM
Hello,
I wanna create a simple webservice that sum two digits, that means when i send 2 , 4 to the function it returns 6.

Note: that my server support SOAP

djr33
12-01-2010, 05:27 PM
What exactly is the purpose of this? What format will the data be in?

If you get variables $x and $y:
echo $x+$y;

Why would you use SOAP? PHP can do this by default, depending on how the data is submitted.