我希望在点击警告框“确定”按钮后重定向页面
这是我的代码,但它没有起作用。警告框弹出来了,但当我按下“确定”按钮时,它会重定向到同一页。我想要重定向到http://localhost/project/index.php/Con_Group_View
这个页面。
else
{
echo '<script type="text/javascript">';
echo'alert("Your Group Already Created ");';
echo 'window.Location="http://localhost/project/index.php/Con_Group_View";';
echo '</script>';
}