LLeoun Posted February 4, 2011 Share Posted February 4, 2011 Hi guys, Sorry if this is too dumb, I'm a student yet .. I have: $newEmail = preg_replace($patterns, $replacements, $email); How can I save $newEmail contents into an html file? Thanks a lot!! Link to comment https://forums.phpfreaks.com/topic/226673-saving-into-an-html-file/ Share on other sites More sharing options...
Roman Fedorov Posted February 4, 2011 Share Posted February 4, 2011 Hi, you can do it as writing to any text file: http://php.net/manual/en/function.fwrite.php Link to comment https://forums.phpfreaks.com/topic/226673-saving-into-an-html-file/#findComment-1169801 Share on other sites More sharing options...
LLeoun Posted February 4, 2011 Author Share Posted February 4, 2011 thanks a lot, worked! Link to comment https://forums.phpfreaks.com/topic/226673-saving-into-an-html-file/#findComment-1169809 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.