LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-04-2009, 02:46 AM   #1
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Arch Slackware Ubuntu
Posts: 1,078

Rep: Reputation: 48
display external html list item in new page using php?


I am building a web page and, as is becoming increasingly routine for me, I have bitten off more than I can chew. I am even finding it hard to describe what I want to do

mypage.html needs to display (possibly random) items from a list on another website.

In my confused mind, I imagine the process like this (forgive the fake code : I had real problems displaying code on an earlier post )

externalpage.html

<html>

<li> item one
<li> item two
<li> item three

</html>

mypage.html

<html>
<div>
<php>
I want to display <li> item (possibly random) here
</php>
</div>
</html>

The list item display will be part of a page and not the whole page.

FYI : the person who has asked me to build this site does the following. They log on to externalpage.html and add items to the list (a photograph of a house and a description). mypage.html needs to display list items as examples of what is in the list. The full list is available using an iframe on mypage2.html.

When I agreed to help build the site, I thought it was all going to be html. I know to ask questions now

Thanks in advance

Last edited by esteeven; 10-04-2009 at 02:48 AM. Reason: typos
 
Old 08-19-2010, 02:06 AM   #2
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,720
Blog Entries: 29

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Late response

This response might not matter to you, but it might help some other person looking for the same problem:

The following links might be of some help, if I have understood the problem correctly.

http://jimblackler.net/blog/?p=13
and
http://www.merchantos.com/makebeta/p...inks-with-php/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I output information from a PHP page to an HTML page? SentralOrigin Programming 3 01-10-2009 01:54 AM
Need help fixing a list item menu (CSS/HTML) gogul2k Programming 2 08-16-2007 05:28 AM
php page can't display but download as php file? taiwf Linux - Software 2 03-07-2006 05:57 PM
php function to open an html page prabhatsoni Linux - Software 2 06-13-2005 11:32 PM
Creating a simple html page from php? lucastic Linux - General 4 11-05-2003 08:48 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration