Jump to content


Photo

Taking content from other pages...


  • Please log in to reply
5 replies to this topic

#1 Tandem

Tandem
  • Members
  • PipPipPip
  • Advanced Member
  • 251 posts

Posted 19 September 2006 - 09:37 PM

I'm trying to implement part of a web page, into one of my own webpages.


More detail:
https://daopay.com/s...ry=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.



#2 Caesar

Caesar
  • Members
  • PipPipPip
  • Advanced Member
  • 1,025 posts

Posted 19 September 2006 - 09:53 PM

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.
PHP Ninja

#3 Tandem

Tandem
  • Members
  • PipPipPip
  • Advanced Member
  • 251 posts

Posted 19 September 2006 - 10:05 PM

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?

#4 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 19 September 2006 - 10:10 PM

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.

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.


#5 Tandem

Tandem
  • Members
  • PipPipPip
  • Advanced Member
  • 251 posts

Posted 19 September 2006 - 11:38 PM

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?

#6 Tandem

Tandem
  • Members
  • PipPipPip
  • Advanced Member
  • 251 posts

Posted 20 September 2006 - 12:29 AM

I'm going to attempt to re-explain.

https://daopay.com/s...ry=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?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users