> -----Original Message-----
> From: John Monfort [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, April 29, 2001 10:40 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Best Practice-HTML In Database
> 
> 
> Hello everyone,
> 
> I'm curious. Which is the better practice?
>
> 1) Insert the HTML page (...HTML code) in the database ?
> 
>    or
> 
> 2) Insert a URL in the database field, that points to the 
> HTML page?
> 
> why?

Will you ever want to do database-ish things with the contents of the
page?  (Allow somebody to search for words or phrases in the body, for
example?)


---
Mark Roedel ([EMAIL PROTECTED])  ||  "There cannot be a crisis next week.
Systems Programmer / WebMaster  ||   My schedule is already full."
     LeTourneau University      ||                    -- Henry Kissinger


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to