View Single Post
  #4 (permalink)  
Old 11-18-09, 08:19 AM
job0107's Avatar
job0107 job0107 is offline
Community Liaison
 
Join Date: Dec 2006
Location: Tacoma, Washington USA
Posts: 3,454
Thanks: 0
Thanked 140 Times in 137 Posts
You don't understand, I can't go by pictures, I need to see the code.
The program needs to pull the information out of the code.

You see, article_eng.html displays the page using HTML.
HTML is made up of elements.
The elements can contain text, images, embedded sound, etc.

When you use file_get_contents(), you are extracting the code from the file.
In order to get specific items from the code, you need to know how the code is written.

Also, what creates
article_eng.html?
Do you have another program that creates
the article_eng.html file?
What I mean is, are other people submitting articles that are then converted into an HTML file?
Or are you creating the HTML file?
Is there more than one HTML file?
Or is there only one HTML file that displays different content that may be fetched from a database,
every time you view it?

Are you beginning to understand?

__________________
Jerry Broughton

Last edited by job0107; 11-18-09 at 08:33 AM.
Reply With Quote