Jump to content

Archived

This topic is now archived and is closed to further replies.

Tandem

Taking content from other pages...

Recommended Posts

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.0

from 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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
I'm going to attempt to re-explain.

https://daopay.com/svc/numgen?appcode=41970&orderno=yes&format=hash&country=GB&price=1.0

I 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?

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.