Monthly Archive: February 2012

google translate selected language 0

google translate selected language

google translate selected language   A very common problem is to add google translator with already selected language which can be fix by the following code.

call a function after a particular time period, 0

call a function after a particular time period,

call a function regularly

drupal 6 basic form , create form in drupal 0

drupal 6 basic form , create form in drupal

drupal 6 basic form

finding mac address 0

finding mac address

finding mac address finding mac address <?php /* * Getting MAC Address using PHP *Kapil sharma */ ob_start(); // Turn on output buffering system(‘ipconfig /all’); //Execute external program to display output $mycom=ob_get_contents(); // Capture...

validation of number in javascript 0

validation of number in javascript

validation of number in javascript function check_number() { var number=document.getElementById(“mobileno”).value; if(isNaN(number)) { alert(“number only”); return false; } else { return true; } }

check database for array of values 0

check database for array of values

check database for array of values example:UPDATE tableName SET someColumn = “updated” WHERE id IN(1, 88, 99, 152) so it can be done by for($i = 0; $i < count($arrayOfIDs) $i++) { if($i ==...