<?php
session_start();
require_once("include/connect.php");
if(isset($_GET["page"]));{
$pages = array ("products","cart");
if(in_array($_GET["page"],$pages));{
$page = $_GET["page"];
}else
{
$page = "products";
}
}
else
{
$page = "products";
}
?>
hanif_thaheem 0 Newbie Poster
anilashanbhag 0 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.