RE: [PHP] Best Practice-HTML In Database
| From: | Mark Roedel | Date: | Mon, 30 Apr 2001 13:31:13 +0000 |
| Subject: | RE: [PHP] Best Practice-HTML In Database | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-50848@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: John Monfort [mailto:monfort@kahuna.sdsu.edu]
> Sent: Sunday, April 29, 2001 10:40 PM
> To: php-general@lists.php.net
> 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 (roedelm@letu.edu) || "There cannot be a crisis next week.
Systems Programmer / WebMaster || My schedule is already full."
LeTourneau University || -- Henry Kissinger