I’m trying to dynamically take page content that includes php coding throughout it, put it inside a variable, addslashes to the variable…and then insert the variable string into a MySQL BLOB. My question is…how?
The old page content is layed out with intermixed php & html, so quotes, both single and double are used throughout it. Would I just declare a php variable and try to set it to the content? Could I do something like this $content = include “file.php”??? What would the most effience, but yet fast way to do this?
Thanks,
Raithe Davion