Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

page redirection in php

if (...) {
    // I am using echo here.
} else if ($_SESSION['qnum'] > 10) { 
    session_destroy();
    echo "Some error occured.";
    // Redirect to "user.php".
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #page #redirection #php
ADD COMMENT
Topic
Name
5+8 =