tags:

views:

50

answers:

1

Describe the mechanics in PHP relevant terms of a PHP/MYSQL page (A.php) that will 1) use one template to write itself (simple), 2) take input from the user to update a database (simple), 3) upon command parse another PHP page (B.php) (???) and save (B.php) page as a static HTML (B.html) (???).

UPDATE= I found a post, here at SO, helpfully suggesting (to another, GROAN, non-Uber Geek with a completely Pedestrian Question) he could capture html from a php page using output buffer. Will this work for a different php file?

+1  A: 
Ezku
I tried to consider the possibility of this being homework when writing my answer. I hope the answer will be informative enough to get someone with honest intentions on the right track.
Ezku
2) HAHAH. Ok. I see what you mean about vague. I didn't mean, "What is PHP and what can it do for me". I'm already programming in PHP 3) That's it! Thanks!Now, I'm going to upset someone again, but imagine for a moment you ran into a problem that needed this output buffer solution, how do you describe PHP using another PHP page? EX. If you use PHP include function in an HTML page, you can modularize the chunks of the HTML page. So I might search or use terms to describe this as modular, chunks, "php html template".Again. I'm sorry, I just couldn't think how to describe my question.
Xtian
Anyone want to click my question back up? It hurts my self esteem. :(
Xtian
PSS. Check out my previous question here that never got op_buffer(),http://stackoverflow.com/questions/3409483/php-page-caching-solution-suggestions-for-cms-applicationsAnd another at PHPfreaks,http://www.phpfreaks.com/forums/index.php/topic,306667.msg1450889.html#msg1450889
Xtian
Ouch. Self esteem crashing -2 to -4 ...
Xtian