Jump to content

PHP freaks Tutorial Help "Static HTML Generation With PHP"


CoreyR

Recommended Posts

In this tutorial http://www.phpfreaks.com/tutorials/29/2.php I'm a bit confused about the $sourcepage. I'm assuming this is the file that returns any updated data and converts to HTML. The HTML is passes back to the tutorial script correct? How do the results get passed back to the page that generates the HTML for the static page? I'm a bit confused about this step, everything else seems straight forward.

 

My Project:

Here is what I am doing.

 

I've got a XML feed which I am parsing into HTML via PHP. I'm using the tutorial above to trigger my gen_html.php file which need to pass the HTML back to the tutorial script and then write the HTML file to the proper directory.

 

Any help would be appreciated.

 

I'm new to PHP and I'm in my 2nd month learning so I hope this makes sense.

 

Thank You,

 

Corey R.

I guess what I am confused about is this. In the tutorial it states "$sourcepage is the file that we're going to prepare in the next step that performs all of your MySQL queries and formats your html for you. It should be the file that is currently on your web server." The next step does not show the file that needs to be prepared, so I'm unsure how to pass the HTML back to the PHP that generates the static HTML file.

Archived

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

×
×
  • Create New...

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.