We can use the below code to show an image in the mouseover of an another image.

<img src=”images/cvv2_small.gif” style=”vertical-align:top;cursor:pointer;” border=”0″ onmouseover=”ShowBigImage();” onmouseout=”ShowDefaultImage();” />

<div id=”LargeImageDiv” style=”position:absolute;z-index:100″></div>

<script type=”text/javascript”>

function ShowBigImage()
document.getElementById(“LargeImageDiv”).innerHTML = “<img src=’images/largecard.gif’>”;

function ShowDefaultImage()
document.getElementById(“LargeImageDiv”).innerHTML = “”;


We can use the below script to subtract half an hour from the given time in PHP.



$actualTime = strtotime(‘2010-07-28 15:00:00′);

$modifiedTime = $actualTime – strtotime(’00:30:00’);

echo “Modified time: ” . date(“H:i a”, $modifiedTime);


Above script gives the output as

Modified time: 14:30 pm

We can add the following script to include the “Firebug” in any browser.

<script type=’text/javascript’ src=’http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js‘></script>

In Mysql InnoDB and MYISAM are two different storage engines. By deafult the storage engine is MYISAM.

Difference between InnoDB and MyISAM :

1. InnoDB supports transactions whereas MYISAM does not. It means we can commit or roll back a transaction in InnoDB but in MYISAM once we execute a command tats it..

2. InnoDB provides row -level locking of a table whereas MYISAM provides only table-level locking.

3. InnoDB supports foreign keys whereas MYISAM does not support foreign key references. Even if you specify foreign key to a table of type MYISAM it willbe simply ignored.

4. Usually we go for InnoDB when we design large size tables and MYISAM is suitable for small size tables

function CompareDateFrom(ptr1,ptr2)
if(ptr2.value != ”)
d1 = new Date(ptr1.value);
d2 = new Date(ptr2.value);
if(d1 > d2)
msg = “From cannot be greater than To!”;
ptr1.value = “”;
return false;

<input type=”text” name=”date_from” size=”7″ onblur=”javascript:check_date(this);CompareDateFrom (this,document.formname.date_to);”…….>

<input type=”text” name=”date_to” size=”7″….>

  • Dont keep the mobile closer to ears until the recipient answers. Because directly after dialing, the mobile phone would use it’s maximum signaling power, which is: 2watts = 33dbi. Please be careful. Please use left ear while using cell (mobile), because if we use the right one it may affect brain directly. This is a true fact from Apollo medical team.
  • Do not drink APPY FIZZ . It contains cancer causing agent.
  • Dont eat Mentos before or after drinking Coke or Pepsi coz the person will die immediately as the mixture becomes cyanide.
  • Dont eat kurkure because it contains high amount of plastic if U don’t Believe burn kurkure n u can see plastic melting.!! News report from Times of India.
  • Avoid these tablets as they are very dangerous:
      1. D-Cold
      2. Vicks action-500
      3. Actified
      4. Coldarin
      5. Co some
      6. Nice
      7. Nimulid
      8. Cetrizet-D
  • They contain Phenyl- Propanol -Amide PPA.Which Causes strokes, and these tablets are banned in U.S.

  • Cotton Ear Buds… Please do not show sympathy to people selling buds on roadside or at Signals by buying their ear buds (instead we can give them money without taking their ear buds)….. Those were made from cotton that has already been used in hospitals. They take all the dirty, blood and pus filled cotton, wash it, bleach it and use it to make ear buds.













Predominantly do Yoga regularly.


Get every new post delivered to your Inbox.