Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 12-01-2010, 03:03 AM function needed
Skilled Talker

Posts: 97
Trades: 0
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
john_zakaria is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-01-2010, 07:09 AM Re: function needed
miki86's Avatar
Extreme Talker

Posts: 185
Location: print_r($serbia);
Trades: 0
Not sure what you need exactly but here's an example.

PHP Code:
// Define a function
function welcome($Myname) {
     echo 
'Welcome '$Myname;
}

// Call a function
welcome('John'); 
miki86 is online now
Reply With Quote
View Public Profile
 
Old 12-01-2010, 07:34 AM Re: function needed
Skilled Talker

Posts: 97
Trades: 0
Quote:
Originally Posted by miki86 View Post
Not sure what you need exactly but here's an example.

PHP Code:
// Define a function
function welcome($Myname) {
     echo 
'Welcome '$Myname;
}

// Call a function
welcome('John'); 
i dont need a php function in need to create a webservice written in xml in which i can pass for it the value 'John' and get the result using php
john_zakaria is offline
Reply With Quote
View Public Profile
 
Old 12-01-2010, 11:04 AM Re: function needed
Extreme Talker

Posts: 181
Name: David Jackson
Trades: 0
Do you want the result in XML
__________________

Please login or register to view this content. Registration is FREE
davidj is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to function needed
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15694 seconds with 12 queries