Jump to content

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.