Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to redirect in php use variable from another file

<?php
...
$id = $user_profile['id'];
$_SESSION['id'] = $id;
header('Location: checkIfExsists.php?id='.$id);
?>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #redirect #php #variable #file
ADD COMMENT
Topic
Name
8+9 =