Tandem Posted September 19, 2006 Share Posted September 19, 2006 I'm trying to implement part of a web page, into one of my own webpages.More detail:https://daopay.com/svc/numgen?appcode=41970&orderno=yes&format=hash&country=GB&price=1.0from that page, i want to implement the "orderno" into a page of my own. Is this possible? and how?Note: i have no control over the page at the above URL, but the layout of it will not change.Thanks in advance for any help. Quote Link to comment https://forums.phpfreaks.com/topic/21319-taking-content-from-other-pages/ Share on other sites More sharing options...
Caesar Posted September 19, 2006 Share Posted September 19, 2006 There are several methods to go about doing it. And part of the approach depends on how you want to handle the data parsed. Show us a little bit of your code and we can possibly point you in the right direction. Quote Link to comment https://forums.phpfreaks.com/topic/21319-taking-content-from-other-pages/#findComment-94927 Share on other sites More sharing options...
Tandem Posted September 19, 2006 Author Share Posted September 19, 2006 All i want is the data displayed.For example, lets say i just wanted to display the "orderno" on it's own on an otherwise blank page, without any of the other info. How would i do that? Quote Link to comment https://forums.phpfreaks.com/topic/21319-taking-content-from-other-pages/#findComment-94935 Share on other sites More sharing options...
Ninjakreborn Posted September 19, 2006 Share Posted September 19, 2006 It would depend as he said, where the database is stored, if it's in the database$select = "SELECT * FROM tablename WHERE column = 'value';";$query = mysql_query($select);if ($row = mysql_fetch_array($query)) {echo $row['whatever'];}that will show just one thing, not the best script but it was written hastilly. Quote Link to comment https://forums.phpfreaks.com/topic/21319-taking-content-from-other-pages/#findComment-94939 Share on other sites More sharing options...
Tandem Posted September 19, 2006 Author Share Posted September 19, 2006 I'm sorry that's not what i mean, i just want to be able to take some specific text off of the other page, and put it onto mine... is that possible? Quote Link to comment https://forums.phpfreaks.com/topic/21319-taking-content-from-other-pages/#findComment-94975 Share on other sites More sharing options...
Tandem Posted September 20, 2006 Author Share Posted September 20, 2006 I'm going to attempt to re-explain.https://daopay.com/svc/numgen?appcode=41970&orderno=yes&format=hash&country=GB&price=1.0I want to be able to display number after "orderno=" onto one of my webpages. The number changes every time you load the page, and sometimes changes in length too.Is it possible to somehow grab it from this page and put it onto my page? Quote Link to comment https://forums.phpfreaks.com/topic/21319-taking-content-from-other-pages/#findComment-94994 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.