jquery validation with error container

This based on standard jquery validate plugin. If you want to display all error in one container on your html page Create a Html form and a error container div. For example <div...

Add or Remove Dynamic Rows in HTML table

To add or remove html row here i am explaining with simple javascript and html. We can use Jquery and other stuff but it’s just to clear out basic concept by this you can...

Keywords Match Types in Ad Words

When bidding on a keyword in PPC campaign, keywords plays a vital role. Choosing correct keyword match type is highly required to tell Google how assertively or restrictively you...

Mysql command line import-export single table

Go to terminal window To export type following command “mysqldump -u USERNAME -p dbname tableName > tableName.sql” Here mysqldump           is default mysql command...

Generate Random password with length and strength

We generally need a random password string for different purpose. Here i am sharing a simple php function to generate random password with user specific length. User can pass length...

Delete recursive directory in a folder

This is a simple function using php in built “unlink” function. I am using “deleteRootToo” parameter to delete root directory holding all sub directories....

Function to prevent string break in MySql insert

Mostly we used normal insert MySQL query, but in the same time if user inserted special characters then to prevent this we can use normal php function. Below is the example of...

Select all checkbox on based of one master check box

For this we need basic jquery library file. I am using onclick bind function to process this event you can do it with manual function also by calling on clcik of any button or...

Submitting form with ajax using serialize

jquery and ajax basic is well known to everyone. I am explaining basic example of submitting a for using ajax in serialize form Her is xample:- We have basic form <form...

Searching in php multidimensional array or array which containing another array

function in_multiarray($needles, $haystack) { foreach ($needles as $needle) { // Displays var name & value currently searching for) //echo ‘$needle: ‘.$needle;...