Re: [PHP] Storing PHP code in a database

2004-01-13 Thread Justin Patrin
John W. Holmes wrote: Justin French wrote: Is there much I need to know about storing mixed PHP/HTML text in a mysql database table, and then using eval() to execute it? All I managed to find so far is that I should store it in a blob. A TEXT or BLOB column will do. Only difference is BLOB

[PHP] Storing PHP code in a database

2004-01-12 Thread Justin French
Hi, Is there much I need to know about storing mixed PHP/HTML text in a mysql database table, and then using eval() to execute it? All I managed to find so far is that I should store it in a blob. Do I need to escape characters, or perform any other filtering/conversions before I store it in

Re: [PHP] Storing PHP code in a database

2004-01-12 Thread John W. Holmes
Justin French wrote: Is there much I need to know about storing mixed PHP/HTML text in a mysql database table, and then using eval() to execute it? All I managed to find so far is that I should store it in a blob. A TEXT or BLOB column will do. Only difference is BLOB is case sensitive. Do I