CoreyR Posted May 25, 2007 Share Posted May 25, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/52991-php-freaks-tutorial-help-static-html-generation-with-php/ Share on other sites More sharing options...
CoreyR Posted May 25, 2007 Author Share Posted May 25, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/52991-php-freaks-tutorial-help-static-html-generation-with-php/#findComment-261792 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.