
Search In
If you want to know any mobile device is accessing your website, Then the easy way to detect device is to run a php code.
Lets see the code below :-
<?php
$useragent=$_SERVER['HTTP_USER_AGENT'];
if(preg_match('/(android|bb\d+|meego).+mobile|av
Using jQuery you can use the following code:
$.browser.device = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));
This will return "device" for all devices.
You can use the below code snip
Sometimes we need to apply inheritance in Hibernate as per our requirement. Here I'm explaining the Hibernate Inheritance using "Table per subclass: using a discriminator".
Suppose we've a class User with subclass Student. And in this approach we'll
1. Immersive Gaming: The Return Of Virtual Reality (VR)
Some of you may be surprised to know that 3D films have existed since about a century ago. The technology just didn’t really didn’t take flight since then due to high costs. It is not until In
Session Hijacking: Session hijacking is semi- permanent interactive information interchange, also known as a meeting between two or more communicating devices. When you hijack someones session you take their sessionID and pretend its your own, hence
Hello reader's, today we discuss about "wp_head() and header.php".
Two Important and key things to add to a WordPress theme are the wp_head and wp_footer functions. These two functions are known as “action hooks”. Action hooks are placeholders where
Tommy Armour Ladies Royal Scot Team Set Review
Thanks to bring the time to read my Callaway Diablo EDGE Fairway Woodreviews, while hope I can give you some insight and assistance on you future possible purchase of Callaway Diablo EDGE Fairway Wood s
Hello readers !
Today we discuss about "WordPress Short Codes".
Short-codes:- a short-code is a shortcut to put things simply. short-codes are WordPress-specific pieces of code that do things that would otherwise require technical knowledge or whi
Hello reader's !
In this tutorial we discuss about How to add menu in WordPress.
So if you want to add menu in your WordPress Site follow the steps one by one.
Login to the WordPress Dashboard.
From the 'Appearance' menu on the left-hand side of
*{margin:0;padding: 0;}
.mdUP table{border-collapse: collapse;width: 100%;margin:10px 0;}
.mdUP table thead{background: #ccc;}
.mdUP table th, .mdUP table td{padding: 5px;text-align:center;border:1px solid #ccc;}
You've proba
