Wednesday, 21 August 2013

why does a code doesnt execute before a header function header(location:home.php);

why does a code doesnt execute before a header function
header(location:home.php);

why does my echo doesn't work here in this code?It goes directly to the
function header().
if($result){
echo("<script> alert('User Successfull Added')</script>");
header('location:home.php');
}

No comments:

Post a Comment