You might consider using output buffering in order to accomplish that goal.

http://www.php.net/manual/en/ref.outcontrol.php

You could buffer the entire page and store the buffer into the DB at the end
of the page load.

-Jared

-----Original Message-----
From: W. Enserink [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 10, 2002 3:35 PM
To: [EMAIL PROTECTED]
Subject: [PHP] storing html in a db


hi all,


i was wondering,

i'm making a php page. this php page is outputting a very lot of html to a
browser.
is it also possible to "capture" this html code and store it in a database?
so later on i can retrieve a full html page without the "dynamic elements in
it"

thx Wilbert


-------------------------
Pas de Deux
Van Mierisstraat 25
2526 NM Den Haag
tel 070 4450855
fax 070 4450852
http://www.pdd.nl
[EMAIL PROTECTED]
-------------------------

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to