<?php
$myvar = 0;
$yourvar = "This is my value<br />";
$myvar = $yourvar;
$myvar = "This is now my value.<br />";
echo $yourvar;
$myvar = &$yourvar;
$myvar = "This is now my value.<br />";
echo $yourvar;
$formvar = $_POST['formvar'];
if ($_SESSION['loggedin']){
echo "Proper login";
} else {
echo "You are not logged in.";
}
?>
|