Chuyển trang thôg báo
if($_GET["id"]=="add_post"){
echo '<meta http-equiv=refresh content="0; URL=forums.php?id=topic&f='.$_GET["f"].'&t='.$_GET["t"].'">';
};
Chuyển trang thôg báo
if($_GET["id"]=="add_post"){
echo '<meta http-equiv=refresh content="0; URL=forums.php?id=topic&f='.$_GET["f"].'&t='.$_GET["t"].'">';
};
Dùng bằng twig sẽ tốt hơn
{%if api.r.get('id')=='add_post'%}<meta http-equiv=refresh content="0; URL=/forums.php?id=topic&f={{api.r.get('f')}}&t={{api.r.get('t')}}&read=1">{%endif%}