1

I have my portal on asp.net, my friend have on php. He wants to me to return text data from my database by sending parameter and wants to display it on his portal. I have given him url say abc.com?id=1 for receiving text data. How can he display data returned from abc.com?id=1 on his portal with say "innerhtml" in javascript.

  • This question appears to be off-topic because it is about programming which is off-topic at Pro Webmasters. Programming questions may be asked at Stack Overflow but be sure to read their FAQ before posting to ensure your question meets their guidelines. – John Conde Mar 7 '14 at 3:28
0

You can work like this,

In your website with abc.com?id=1 will read your db data according to id the out put the result as XML or JSON like an API call.

The your friend can read the URL (abc.com?id=1) with JSON or XML parse method in PHP.

This is the way something like many API calls works.

Hope its make sense..

Not the answer you're looking for? Browse other questions tagged or ask your own question.