Yes,  I will need to provide searching capabilities.

  Basically, I'm creating an online referencing system with a db backend.
  A user will be able to search for a manual, and/or browse to a
  particular  section of the manual.

  It's similar to the online PHP manual...at least, in concept.


  So, in the long run, which will be more beneficial:
    1) HTML code inside the db fields?
       or
    2) HTML URL inside the field?


__________John Monfort_________________
_+-----------------------------------+_
     P E P I E  D E S I G N S
       www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___________________________________+-

On Mon, 30 Apr 2001, Mark Roedel wrote:

> > -----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