Alberto De Milano Posted August 17, 2012 Share Posted August 17, 2012 Hi, I'ld like refresh automaticlly my shop. I saw that one can refresh a page with Meta refresh http://en.wikipedia.org/wiki/Meta_refresh. I tried : public function hookHeader() { $html .= '<meta http-equiv ="refresh" content="5">'; } but it doesn't work. How can i do it? thanks Link to comment Share on other sites More sharing options...
Alberto De Milano Posted August 17, 2012 Author Share Posted August 17, 2012 with this script, I've this error: Notice: Undefined variable: htm Link to comment Share on other sites More sharing options...
kozher Posted February 26, 2013 Share Posted February 26, 2013 (edited) For information, you'll have to do : public function hookHeader() { return '<meta http-equiv ="refresh" content="5">'; } Edited February 26, 2013 by kozher (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now