Tag Archives: ptutorial

php-equals-operator

PHP Equal operator

PHP Equal operator

There are three equal operator or sign available in PHP.

php equals operator

  1. Assignment or single equal (=)
  2. Equality or double equal(==)
  3. Identical or triple equal(===)

Let us describe one by one with the help of the example.

PHP Single equal operator

Single equal operator is basically used for assigning the value to on the right to the variable on the left, as shown in the below example.

Syntax of PHP single equal operator

<?php

echo "Single Equal operator<br>";
$firstNumber=5;
$SecondNumber=10;
$sum=$firstNumber+$SecondNumber;
echo " Sum=$sum";

?>
Single Equal operator
Sum=15

Double equal operator

Double equal operator is used to checks the left and right value are equal, as shown in the example below.

Example of Double equal operator

<?php

echo "Double Equal operator<br>";
$a=5;
$b=10;
if($a==$b)
{
echo "Both are equal";	
}
else
{
echo "Both are not equal";	
}

?>

Output

Double Equal operator
Both are not equal

Triple equal operator

Triple equal operator is used to checks the left and right value are equal with same data type that means left value and right value must be in same data type.

Example of Triple equal operator

<?php

echo "Triple- Equal operator<br>";
$a=5;
$b=5.0;
if($a===$b)
{
echo "Both are equal";	
}
else
{
echo "Both are not equal";	
}

?>

Output

Triple- Equal operator
Both are not equal


How to check your real backlink

Check your real backling | pTutorial

How to check Your Real backlink of any website.

Before checking backing, I will tell you what is backlink? Backlink is a hyperlink from on web page to point other web page, It is a search engine optimization term (SEO) that is also called Inbound Link. Backlink is the most important factor of popularity of any website.

There are two types of backlink are following below

  1. Do follow backlink
  2. No follow backlink

No follow backlink

Backlink that have rel=” nofollow ” attribute is called no follow backlink. Most important thing about no follow backlink is that search most of engine does not consider no follow backlink link for ranking of any website.

Example of do follow link

Php tutorial

Do follow backlink

The backlink that does not have rel=”nofollow ” attribute is called do follow backlink. Only do follow links are consider by the search engine.

Example of do follow backlink

Php tutorial

Check do follow backlink of your of website

Now I am going to tell you how to check do follow backlink of any website.

Open google web master tool and sign in with your google account.

ptutorial check backling

If your website has been added in google web master tool then ok otherwise add your website first to google webmaster tool.

ptutorial check backling

Select you’re your website, which you to check backlink, here I am selecting blogs.ptutorial.com.

You can see here number of submitted and index page of your website.

ptutorial check backling

Now click on search traffic then after links to your site. This is your real backlink or you can say that, there are the do follow backlink of your website.


ptutorial check backling

Note: If you add your website to google webmaster today then it takes around seven day to update your all data like backling.

Note: If you have been added some time before then it takes 24 to 48 hours to update todays backling.

For php tutorial and example please visit php example