Variables are used in PHP and other programming languages to store dynamic values.
Variables can be used in any PHP program to store information.
How to create or declare a variable in PHP?
Variables are declared using $ (dolar) sign followed by _ (underscore) or alphabets.
If we want to declare a variable named First Name we can write it as:
A variable name can contain Alpha Numeric Characters with or without underscores.
A variable can store values of any data type like strings, bool, float, double or integer.
Remember that in PHP the variables are declared in the same line where a value is assigned to them.
Unlike other programming languages there is no need to firstly declare a variable and then assign a value to it.
You can assign values and declare a variable at the same time.
Here is an example:
$firstName = “Manish”;
If we want to print this variable we can simply write
$firstName = “Manish”;
//Outputs : Manish
Variables in PHP are case sensitive.
Note : In the example given above we have not used single quotes or double quotes while echoing or printing $firstName. But a string cannot be assigned to a variable without the use of double or single quotes.
Consider the example given below
$lang = “PHP”;
echo “We are studying $lang”;
//Outputs : We are studying PHP.
In this example we have written $lang inside double quotes. We will not get any error because the assigned value to $lang variable was a string.
You can watch out Step by Step Tutorial About Variables in PHP
You can join out Php Training in Lucknow
In India, Tourism industry is growing at very fast pace. It has become one of those industries that play vital role in the economic growth of the country. Tourism industry plays a key role in achieving the goals of the economic development of country, generation of employment, development plans of a region, etc.
According to estimates given by the National Council for Applied Economic Research, tourism industry contributes 6.77% to India’s total Gross Domestic Product through direct and indirect impact.
Uttarakhand, a state of the Republic of India, became the 27th state of India, On 9 November 2000. Uttarakhand is a treasure for those tourists who want to spend some time in natures lap and in peace. Uttarakhand has a lagre list of places to explore. Various adventure activities like rafting, skiing, trekking and so on, help in the growth of tourism industry in Uttarakhand.
In Uttarakhand, tourism industry plays a special role as it not only has potential to grow at a fast rate, but also stimulate other economic sectors like agriculture, horticulture, poultry,handicrafts, transport, construction, etc.
Tourism in Uttarakhand is the industry, which gives a large amount of revenue to the state. Every year Uttarakhand welcomes a large amount of travelers, adventure seekers, nature lovers, pilgrims, families, and so on.
Nainital ,Mussoorie, Ranikhet , Almora, and Auli are the most popular hill stations of the Uttarakhand state. Mussoorie, the ‘Queen of the Hills’ and is situated at the foot hills of the Himalaya. The most visited destinations in mussoorie are The Kempty Fall and the gun hill. The city of lakes, Nainital is known for its lakes and orchards. Ranikhet one of the beautiful hill stations of Uttarakhand is well-known for temples, picnic spots, treks and India’s highest golf course. Uttarakhand is a paradise for pilgrims to visit. In Uttarakhand, There are The major Hindu pilgrimage centers that are Badrinath, Kedarnath, Gangotri and Yamunotri, and many temples of Hindu God and Goddesses.
How to reach Uttarakhand
Uttarakhand is well connected with road and rail networks which makes it one of the best tourist places of india for tourists from all parts of the country as well as from outside.
By air: the main airport of Uttarakhand is the Jolly Grant Airport in Dehradun. All run regular flights to Dehradun. Another airport is in Pant Nagar, near Nainital, but only limited flights operate from there.
By rail: Uttarakhand is well connected with other main cities of India through rail network. The chief Railway Stations in Uttarakhand are Dehradun, Kathgodam and Haridwar.
By road: The road network of Uttarakhand makes it easily accessible for the tourists. The state has road connection with Delhi and many other cities like Lucknow.
Being one of the best tourist attractions Of India, Uttarakhand needs is a little more promotion with the help of Social Media and other promotional activities.
Article Written By Mahesh Bisht – Holidayillz.com
Blogging is gaining popularity exponentially as we are approaching 2018. We are discussing about Ad Networks for Bloggers. This is a list of Top 10 Ad networks that will pay bloggers and website owners for their content and visitors. Advertisers love blogs with decent or heavy amount of traffic.
Facebook Audience Network is a unique way of monetizing the traffic on your Facebook App or Page. You can create Instant Articles by writing new articles directly on facebook or by connecting RSS feed of your website as a source of Facebook Instant Articles.
Read this article for Step By Step Setup Guide of Facebook Audience Network Instant Article Monetization.
Media.net is the best alternative to Google Adsense. Media.net prefers traffic from US, UK and Canada location. It is a contextual ad network.
It is hard to qualify for this ad network.
Infolinks is used by many bloggers and it is very popular because it can work in conjunction with adsense or Media.net. It has many Ad formats. It is one of the oldest alternative to adsense. It uniqueness is in its In-text ads.
Content.ad is a native advertising solution. It is best for bloggers because the advertisements look like blog posts and usually have a higher CTR.
Adclickmedia has banner ads, text ads and various other ad formats that can be displayed alongwith your website’s content. Fill rate of Adcickmedia is good. CPC is decent.
Propeller Ads usually approve small and medium websites also. They have banner ads and Popunder ads with CPM model of payment. They have many advertisers and their payment threshold is 100$ which is hard to achieve for new bloggers.
Taboola is growing at a fast rate and is a native advertising solution. Taboola requires a minimum of 1 million page views per month. Many famous blogs are using Taboola as their main source of monetization.
Google Adsense was the Best Ad Network and will be the best Ad Network for Bloggers in 2018 as well.
Why is Google Adsense Best?
Answer is simple, “it is owned by Google.”
Ad blockers are hurting advertising networks and their business strategy. Bloggers are receiving huge amount of traffic but the traffic is not being converted in revenue because of Ad Blocker scripts and browser addons. AdRecover can be used to monetize your Ad Block impressions
Minimum traffic requirement is 50 Thousand page views per day.
Just like other native ad networks mentioned in this list Tread.tv is also a native ad network. It works with video ads. It can monetize European, USA, and Canadian traffic.
Top 5 Free WordPress themes for Business Website Development
Enlighten is a free theme by Accespress. This theme has an impressive homepage template. The homepage template contains a Posts Slider which can be used to showcase your top articles or categories.
Another 3 column slider Is there in the home page which is perfect for latest posts or Products & services
You can showcase your achievements which come with auto loading numbers. This section can also be used to showcase your skills.
Below achievements section there is a Introduction Video section. It can be connected with Youtube.
There is a beautiful call to action section with orange background just below the video section.
Client testimonials create a good impact on readers and potential clients. It can be added in the section below call to action section.
A very creative part of this theme is the latest news section with Author or Owner Info that can be connected with the twitter feeds.
You can showcase a client logo carousel as well.
This theme has a multicolumn footer as well.
You can see a live demo of this theme at
Hashone is developed by Hashthemes and it is a very professional looking theme with Red progress bars and icons. It is a multipurpose theme.
It has following Sections:
This theme can work as a single page theme as well as a multi-page theme.
Travel blogging is one of the trending career options. Travel Eye is a theme dedicated to travel bloggers and Tour & Travel Service Providers.
You can see a website developed using this wordpress theme on this URL – http://holidayhillz.com
Promote theme is a treat to eyes. You can configure menu color as per your business logo and see the magic. It can be used with creative icons to create and impression on visitors.
It has a unique world map section that can be use to showcase number of clients and their locations.
This theme is suitable for Startups, Corporate Business and Digital Marketing Agencies.
This wordpress theme is installed and working fine on this website – JobsExams.com
As the name suggests this theme is suitable for Educational Institutes and Communities.
Education hub has a unique color combination of Blue and Yellow which makes the look and feel of this theme magical.
It has a Slider on homepage that can carry some text in the heading and a short paragraph.
You can see this screenshot to see the slider:
Just below the slider there are grids which look really beautiful. This theme is responsive and we have used it to create a Book Swapping Website.
Create a WordPress website in less than 25 minutes
Worpress is one of the best Content Management tool on internet. I am sharing this simple step by step tutorial for creating fast and attractive WordPress website in less than 25 minutes.
Step 1. Buy a domain name for your website. If you don’t want to pay you can start with a dot TK domain name as well. We recommend Bigrock for buying paid domain name. Domain name is important for branding of any website.
Step 2 – Buy a WordPress or Linux Hosting plan. It comes at a cheap price of 70 Rs per month also. We recommend Hostgator to buy WordPress hosting. CPANEL hosting is best for WordPress websites.
Step 3 – Hosting provider will give you 2 or four NAME Servers which look like – ns1.example.com, ns2.example.com etc. Go to your domain control panel and paste the name servers in DNS setting.
Step -4 Inside your hosting panel Go to ADD NEW DOMAIN name section and enter the domain name is bought in step 1.
Step – 5 – Search for Script autoinstaller in your hosting. Softaculous is the most famous autoinstaller and all good hosting panels have it. In the Autoinstaller window look for WordPress script and click install.
Step 6 – Select the domain name on which you want to install wordpress.
Step 7 – Select your website title and tagline. Give a unique admin name and enter a secure wordpress password. The password should be alphanumeric with 10-15 characters.
Step 8 Click Install WordPress button and after some seconds wordpress installation will be finished. You will get wordpress files in your public_html or root folder.
A new database will also be created automatically. You can see all databases in phpMyadmin section.
Step 9 – Go to www.example.com/wp-admin , here replace examplecom with your domain name.
Step 10 – Enter Admin ID and password you created earlier.
Step 11 – Install your desired theme and your wordpress website will be ready after its configuration.
We provide Professional WordPress Training as Well.
You can download wordpress from http://wordpress.org and install it in locahost also. You can later migrate your website to web hosting.
We are discussing best hosting Options for WordPress users in the year 2018.
If you are using a wordpress website or you are planning to start a new wordpress website then you must be interested in knowing about a good wordpress hosting.
WordPress hosting has always been a big thing to worry about for bloggers and website developers.
A good hosting is not only fast but also safe and secure. Many users who are using plesk panel to host a wordpress website are facing an issue of slow website. Their website takes about 10 to 12 seconds to load completely. A study about internet users says that 60% of website visitors will navigate away from any website if it loads after 5 seconds.
We have conducted our research on the habits of wordpress website owners and found that cPanel owners find wordpress hosting easy as compared to plesk panel users. Plesk panel users are happy with asp.net hosting but not with wordpress osting.
Pretty urls will not work unless you provide a properly written web.config file. Pretry urls are very important for SEO. There are many hosting providers who provide fast and Secure wordpress hosting. Some of the most famous hosting providers are:
We are using Hostgator’s multi domain hosting and we are satisfied with the performance.
Multi domain hosting is preferred if you have more than one website to host. We are using linux hosting plan.
WordPress websites are based on PHP language. pHP language works best with Linux hosting. If you don’t have any windows Technology like ASP, c# etc. based website then you can definitely go for cpanel hosting.
Before buying any hosting please check the Technologies which are supported by it. To run wordpress efficiently your hosting must support php and mysql database. Some hosting providers provide a domain name with their hosting package. Some hosting providers provide SSL certificates there hosting.
SSL certificates ensure s security of your website. Most of the hosting providers have a mandatory requirement of domain name.
Chose your hosting as per disk space requirement of your website.
If you learn WordPress Development click on the link.
सर्च इंजन ऑप्टिमाइजेशन SEO क्या होता है यह जानने से पहले आपको इसके प्रयोग होने वाले शब्दों को समझना चाहिए :
सर्च इंजन ऑप्टिमाइजेशन या SEO प्रायः तीन शब्दों से मिल के बना है |
सर्च का अर्थ है – किसी व्यक्ति, वस्तु, जगह या अन्य जानकारी को खोजना
इंजन का अर्थ है – यूजर द्वारा एन्टर की जाने वाली जानकारी को डेटाबेस में पोस्ट करने और उस जानकारी के अनुसार उत्तर को यूजर को दिखने की तकनीक |
सबसे अधिक प्रयोग होने वाले सर्च इंजन हैं :
ऑप्टिमाइजेशन का अर्थ है – अपनी वेबसाइट की कुशलता को इस प्रकार से बढ़ाना की वो यूजर के सवाल के अनुसार सबसे सटीक उत्तर दे सके |
यूजर द्वारा पूछे जाने वाले सवालों में आने वाले प्रमुख शब्दों को KEYWORDs या मुख्य शब्द कहा जाता है | “डिजिटल मार्केटिंग क्या है” में कीवर्ड है “डिजिटल मार्केटिंग” और इस पूरे वाकय को KEYPHRASE कहते हैं |
यदि आप किसी व्यवसाय के माध्यम से किसी को सेवा प्रदान करते हैं तो उस सेवा के लिए आपको keywords भी सोचने पड़ते हैं | ये keyword आपके व्यवसाय से सम्बंधित ही होते हैं | हमें रिसर्च करनी पड़ती है की इसी व्यवसाय से जुडी कौन सी सूचना गूगल, बिंग, याहू इत्यादि सर्च इंजन पर यूजर खोज रहे हैं और उस सूचना को ढूँढने के लिए वो कौन से keyword का प्रयोग कर रहे है |
उन KEYWORDS को अपने वेब पेज में हम TITLE टैग के अन्दर लिखते हैं | अपने वेब पेज के META DESCRIPTION टैग में भी उस कीवर्ड को लिखना चाहिए |
आपके वेब पेज में HEADING टैग भी प्रयोग होते हैं जिसमे से सबसे बड़ी heading में सबसे प्रमुख कीवर्ड का प्रयोग कोना चाहिए और यदि आप इमेज का प्रयोग कर रहे हैं तो इमेज टैग के एट्रिब्यूट में भी उस कीवर्ड का प्रयोग अनिवार्य है |
इस प्रक्रिया को सर्च इंजन ऑप्टिमाइजेशन कहते हैं |
सर्च इंजन ऑप्टिमाइजेशन से वेबसाइट पर आने वाले विजिटर की संख्या बढ़ जाती है और व्यवसाय को लाभ पहुचता है |
Facebook Insights to Google Data Cloud Studio has been live for some time and it has some amazing features.
Google Data Studio can be used to fetch data from other sources.
Google Data Cloud can fetch Graphical Data from Facebook Insights.
We will guide you step by step how to create stunning Graph and Chart Reports using Google Data Cloud.
Open this url and login with your existing Gmail ID.
Step 1 – Click on Start a New Report.
Step – 2 Click on Create New Data Source
Step – 3 Go to the Connectors panel on the left Sidebar
Step – 4 Click on Explore Connectors
You will see many Data Sources here that will be listed alphabetically. Like – Adobe Analytics, Adwords etc.
Here you have to look for Facebook Insights
After Clicking Facebook Insights it will appear in the left Connectors Sidebar.
(You can additionally connect to facebook ads as well.)
You will see a message – Data Studio requires authorization to use this community connector.
Click on Authorize Button.
You have to select Facebook Insights by Supermetrics.
Next you will see this message
Facebook Insights requires authorization to connect to data.
Login to Facebook and give permissions.
Sepermetrics will now fetch the data from your Facebook Pages.
You will be asked to select pages. You can select one page or select all using the check boxes.
You will see a list of selected Pages.
Now click on CONNECT in the top right corner.
In the next screen you will see fields that you can select for detailed report.
You can additionally create your own calculated fields as well.
Now you have to click ADD To Reports
You will see a popup and here also you have to click add to reports.
Once all the data is loaded you will be able to customize the reports and analyze it at one place. You can also show these reports to your clients.
Social Bookmarking is a method in which people bookmark links or files which they would like to read again. This bookmarking can be done in web browsers but some websites offer the service of bookmarking favorite content online as well. These websites are termed as Social Bookmarking websites. These websites can be used for Digital Marketing and increasing traffic to those links by publicly sharing what you were reading.
We are providing our picks for the top 10 Social Bookmarking Websites on internet:
Reddit is an American website for aggregation of news socially, giving rating to web content and as a discussion forum as well. You can share images, videos and other website links with others. Other people can like or dislike your content. Reddit is one the oldest and biggest Social Bookmarking website.
BibSonomy.org is not just a social bookmarking website; it is also a team work flow based E-Publication management system. It is online since 2006. This famous blue social bookmarking website is developed using Java.
Diigo.com is a freemium social bookmarking website that can be used to tag web pages and share and access educational social bookmarks. It provides the functionality of online sticky notes as well.
Citeulike.org is a free website and as the name suggests it can be used to share interest and like based content with other scholars and researchers. It uses the content of social bookmarking to share links of scientific and research based content on web.
Sharethis.com provides free clickable buttons that can be posted on any site to let people share the content with billions of internet users via email, AIM or simple text messages.
It will clear to you after reading this article that social bookmarking is primarily done in order to tag content on internet that others can read as well. It can increase traffic to the bookmarked url.
If you are using any social bookmarking tool for digital marketing please let us know by commenting on this article.
Cornerstone content or articles are a way of representing the most powerful and well written articles on your website.
If you are proud of any articles and think that article can represent your website then it is your cornerstone article.
If you are using WordPress and for SEO you are using Yoast SEO then you will find a small checkbox asking –
Is this your cornerstone article ?
As per the automated suggestions provided by yoast the minimum words per article should be 900 if you want it as your cornerstone article.
The focused keyword in your cornerstone post or article should not be used with any other post.
You must include the focused keyword in your Page Title and Meta Description.
You can take help of this pyramidal shape to understand the concept of Corner Stone article.
In this shape home page is the entry point of our website. Entry page is the most important page.
After homepage you can see two pages in the next level. These two pages are Cornerstone Content of your website.
This feature was introduced in WordPress 4.6 Update.
This image tells us that the corner stone or most important articles of our website should be visible or clickable on the home page.
Navigation should be clear and easy.
If you have articles belonging to various categories like we have on our website, you can assign cornerstone articles for respective categories.
Read Our 101 Digital Marketing Articles
Read more about this topic on official website of Yoast