Anyone know why this code not working?
if (isset($_SERVER['HTTP_X_REQUESTED_WITH']) && $_SERVER['HTTP_X_REQUESTED_WITH'] == "appname") {
echo 'webview';
}else{
echo '<style>header {display:none !important;}</style>';
}
This part only work if used PC browser, but not if used the mobile browser:
echo '<style>header {display:none !important;}</style>';
source https://stackoverflow.com/questions/70482237/php-echo-with-html-inside-not-working-on-mobile-browser
Comments
Post a Comment