Re: [PHP-DB] RE: Storing Code in a db?

2001-07-02 Thread Szii
de, and INSERT it that way. Pull it back out, stripslashes() it, and eval() it. Voila! -Szii - Original Message - From: "Mark McCray" <[EMAIL PROTECTED]> To: "olinux" <[EMAIL PROTECTED]>; "php-db" <[EMAIL PROTECTED]> Sent: Monday, July 02,

Re: [PHP-DB] RE: Storing Code in a db?

2001-07-02 Thread Mark McCray
Here was the application I was thinking of creating for my organization. We wanted to make an online survey tool. Where you can create a survey, with sections, possibly subsections, questions, and acceptable answers. It's easy enough to create this stuff each and every time, but it's ridiculousl

RE: [PHP-DB] RE: Storing Code in a db?

2001-07-01 Thread olinux
Couldn't you just store the php commands as a txt file and then use a SSI [server side include]? olinux > It would be very convenient to be able to store PHP (or any other server > side code) in a database, then retrieve and execute it. > > I store a lot of website content with embedded HTML co

Re: [PHP-DB] RE: Storing Code in a db?

2001-07-01 Thread Saul Diaz Carrillo
- Original Message - From: "Mikusch, Rita" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 28, 2001 12:16 PM Subject: [PHP-DB] RE: Storing Code in a db? > Yes! I'd be interested in this as well! > Hi! Me too. I think about this a lot. > It would be very convenient to