List:General Discussion« Previous MessageNext Message »
From:clint lenard Date:September 9 2005 6:39am
Subject:Re: HTML in MySQL?
View as plain text  
Thanks Jasper for the info! This may sound stupid - but I just want to be 
sure... do I need to strip the slashes and special characters out and add 
them when they're called... or......? I'm just trying to get a clear picture 
of exactly what needs to be done with this particular job...

thanks!

On 9/9/05, Jasper Bryant-Greene <jasper@stripped> wrote:
> 
> clint lenard wrote:
> > Hi guys, I'm fairly new to MySQL and I've searched for about a week 
> looking
> > for an answer to this...
> >
> > I'm trying to design a Database that would hold HTML sites in the DB 
> itself
> > and use PHP to call for the HTML file - which would be populated with
> > Content from another table in MySQL. I was told I could put HTML into
> > MySQL... so my main question would be: "is this possible?", "is this a 
> BAD
> > thing?" but most of all... would this be resource intensive?
> 
> Of course -- HTML is just a string like any other. Just use a TEXT field
> of the appropriate size for the size of your HTML pages, and then store
> the HTML as a string in that field. Then retrieve it and output the
> string with PHP.
> 
> --
> Jasper Bryant-Greene
> Freelance web developer
> http://jasper.bryant-greene.name/
> 
> If you find my advice useful, please consider donating to a poor
> student! You can choose whatever amount you think my advice was
> worth to you. http://tinyurl.com/7oa5s
> 
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe: http://lists.mysql.com/mysql?unsub=1
> 
>

Thread
HTML in MySQL?clint lenard9 Sep
  • Re: HTML in MySQL?Jasper Bryant-Greene9 Sep
    • Re: HTML in MySQL?clint lenard9 Sep
      • Re: HTML in MySQL?Jasper Bryant-Greene9 Sep
        • Re: HTML in MySQL?clint lenard9 Sep
  • Re: HTML in MySQL?douglass_davis12 Sep
    • Re: HTML in MySQL?clint lenard12 Sep
      • Re: HTML in MySQL?clint lenard12 Sep
        • Re: HTML in MySQL?clint lenard12 Sep
          • Re: HTML in MySQL?Hassan Schroeder12 Sep
RE: HTML in MySQL?SST - Adelaide)9 Sep
Re: HTML in MySQL?Unknown Sender9 Sep
Re: HTML in MySQL?Unknown Sender9 Sep
RE: HTML in MySQL?Alan Williamson9 Sep
  • Re: HTML in MySQL?Unknown Sender9 Sep
    • Re: HTML in MySQL?gerald_clark9 Sep
    • Re: HTML in MySQL?Filipe Tomita9 Sep
  • Re: HTML in MySQL?Unknown Sender9 Sep
RE: HTML in MySQL?John Trammell9 Sep
Re: HTML in MySQL?Unknown Sender11 Sep
  • Re: HTML in MySQL?Roger Baklund11 Sep
Re: HTML in MySQL?Unknown Sender11 Sep
RE: HTML in MySQL?John Trammell11 Sep
  • Re: HTML in MySQL?Jasper Bryant-Greene12 Sep
    • Re: HTML in MySQL?Jasper Bryant-Greene12 Sep
      • Re: HTML in MySQL?clint lenard12 Sep