[PHP-DB] PHP in Database Fields..

2002-06-24 Thread Matthew Tedder
Question: I want to put PHP code into database fields holding HTML text, how can I make it execute that PHP before sending to the browser?? Currently, I get the text from MySQL and print it The browser shows the PHP code mixed into the HTML. Matthew -- Anything that can be log

Re: [PHP-DB] PHP in Database Fields..

2002-06-24 Thread szii
exec() the query results. -Mike - Original Message - From: "Matthew Tedder" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 24, 2002 2:31 PM Subject: [PHP-DB] PHP in Database Fields.. > > Question: > > I want to put PHP code into

Re: [PHP-DB] PHP in Database Fields..

2002-06-24 Thread Matthew Tedder
lling me much, either.. Matthew > > -Mike > > - Original Message - > From: "Matthew Tedder" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, June 24, 2002 2:31 PM > Subject: [PHP-DB] PHP in Database Fields.. > > > Question

Re: [PHP-DB] PHP in Database Fields..

2002-06-24 Thread kodrik
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > >  I want to put PHP code into database fields holding HTML text, how > >  can I make it execute that PHP before sending to the browser?? I save the code into a file and save the url of the file into a database and then just include that file into

Re: [PHP-DB] PHP in Database Fields..

2002-06-24 Thread szii
I'm sorry, brainfart. Don't exec(), eval(). Apologies. -Mike - Original Message - From: "Matthew Tedder" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, June 24, 2002 4:00 PM Subject: Re: [PHP-DB] PHP in Databa

RE: [PHP-DB] PHP in Database Fields..

2002-06-25 Thread Chris Barnes
eval() might do what your asking for. I'm no expert tho. -Original Message- From: Matthew Tedder [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 25 June 2002 7:32 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] PHP in Database Fields.. Question: I want to put PHP code into database f