iv'e done it before.
store the html as a varchar,text field in database.
using php would help if only certain sections are stored as html.

Good Luck,

Rick
-----Original Message-----
From: Steve Osborne [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 17, 2001 3:38 PM
To: MySQL (E-mail)
Subject: Returning html code


Does anyone know of an easy way to store html code in a mysql database, and
then retreive it, in such a way that it can display the page as if it were a
standard html page?  Would using php be of benefit to me?

Steve Osborne
[EMAIL PROTECTED]

<?php
/* Happy Holidays */
mysql_select_db('North_Pole');
mysql_query('SELECT reindeer FROM stable WHERE nose_color="red"');
?>*

*(borrowed from Paul)


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail
<[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to