Function needed

hi guys,
i want to know how to create a simple webservice function.
in which i can pass for it : Myname=‘John’;

and get a response from webservice: Welcome John.

thats all… waiting your reply’s

PHP have documentation about web service coding, if im understanding correctly the link below should help.

http://php.net/manual/en/refs.webservice.php

It is bit a long process to prepare a web service since it has some factors you need to understand before you develop a web service. So it is better to go through some tutorials :

And also go through PHP SOAP Server and [URL=“http://www.php.net/manual/en/class.soapclient.php”]Client pages

I have given a simple example to add two numbers here

Hope this will help you.