Difference between class and an object?

An object is an instance of a class. Objects hold any information , but classes don’t have any information. Definition of properties and functions can be done at class and can be used by the object.

Restore database (or database table) from backup?

 [mysql dir]/bin/mysql -u username -ppassword databasename < /tmp/databasename.sql

How set a root password if there is on root password?

# mysqladmin -u root password newpassword

total number of rows?

mysql> SELECT COUNT(*) FROM table;

Show unique records mysql?

mysql> SELECT DISTINCT column FROM table;

CSV tables?

CSV tables are the special tables, data for which is saved into comma-separated values files
 and cannot be indexed.

How does Google Plus helps in Seo?


Google Plus helps the promoted web pages to get plus ones which are considered
as genuine votes by Google.
Using Google Plus for Seo

search-friendly URIs?

One characteristic of a well-optimized site is the presence of search-friendly URIs.
Search-friendly URIs include keywords related to the main subject of the page
directly within the address of the page.

PHP?

PHP (Hyper text Pre Processor) is a scripting language commonly used for web applications

in_array() function in php?

It  checks if a value exists in an array