When you have a Require/Include file, does it have to have a logical beginning and end like this...
or can it just pick up anywhere like this...PHP Code:<?php
$extendedPrice = $unitPrice * $quantity;
echo "The Extended Price is " . $extendedPrice;
?>
PHP Code:if (empty($_SESSION['loggedIn']) || $_SESSION['loggedIn']===FALSE){
// Not Logged In.
$_SESSION['resultsCode'] = 'PROFILE_NO_QUERY_STRING_2143';
// Set Error Source.
$_SESSION['errorPage'] = $_SERVER['SCRIPT_NAME'];
// Redirect to Outcome Page.
header("Location: " . BASE_URL . "/account/results.php");
// End script.
exit();
I also have the same question if the content is HTML...
Thanks,
Debbie



Reply With Quote




Bookmarks