Hello,
I am new to PHP and I would like to do the following: In my website, the user can add a blog but I would like the blog to go to admin first before it gets published ( The admin has the authority to publish or un-publish a blog).
At the moment, the blog appears on the website and in the admin view it shows that it has not been published yet.
this is my code now:
<pre lang="PHP">
header("Location: http://www.arabrecycling.org/user/blogger/");
</pre>
I would like it to do something like //redirect('admin/addBlogs',$data) but still refresh the page. Is that possible?