williwaw Posted June 17, 2010 Share Posted June 17, 2010 Hi all, Is there any way to displaying text from an API source (ex: http://www....com/) without using iframe? Can I use echo to display the text from an API link?? Thanks for you help. Cheers, Bill Quote Link to comment https://forums.phpfreaks.com/topic/205010-display-api-info/ Share on other sites More sharing options...
williwaw Posted June 17, 2010 Author Share Posted June 17, 2010 I guess I could of added a link to be more helpful. http://www.hobbyking.com/hobbyking_api.asp?id=9532&switch=4#switch=3 So, to further explain now that you have an example. I would like to post the text from the above link into a page without using <iframe>. Example: (Content of API Link displayed here) ________________ | | | | | | | Photo | | | |_______________| Quote Link to comment https://forums.phpfreaks.com/topic/205010-display-api-info/#findComment-1073247 Share on other sites More sharing options...
trq Posted June 17, 2010 Share Posted June 17, 2010 Using php it would be simple.... <?php echo file_get_contents('http://www.hobbyking.com/hobbyking_api.asp?id=9532&switch=4#switch=3'); ?> This is the HTML help board though. Quote Link to comment https://forums.phpfreaks.com/topic/205010-display-api-info/#findComment-1073250 Share on other sites More sharing options...
williwaw Posted June 17, 2010 Author Share Posted June 17, 2010 Thank you very much for your help thorpe! You guys are great here, thanks again. Quote Link to comment https://forums.phpfreaks.com/topic/205010-display-api-info/#findComment-1073253 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.