Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
nikitybe каза:Мисля, че с пример ще ми стане по ясно и все пак мерси.
if(isset($_GET['page']) && $_GET['page'] == "home")
{
echo 'Home Content';
}
if(!in_array($_GET['page'], array('index', 'products', 'contact'))) {
$page = 'index';
} else {
$page = $_GET['page'];
}
$driver = false;
switch($page)
{
case 'products':
//include 'classes/products.php';
break;
case 'contact':
//include 'classes/contact.php';
break;
case 'index':
default:
//include 'classes/index.php';
break;
}
?>