call a function after a particular time period,

call a function regularly

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 == 0) $concatenatedIDs .= $arrayOfIDs[$i]; else $concatenatedIDs .= ‘,’ . $arrayOfIDs[$i]; } $query = ‘UPDATE tableName SET someColumn = “updated” WHERE id

Read More

jquery for refreshing only div content

jquery for refreshing only div content <script> jQuery(document).ready(function(){ jQuery(“#amot”).change(function() { //var file_name=”components/com_virtuemart/themes/default/templates/common/shopIndex.tpl.php”; jQuery(“#coupon-box”).load(“index.php #coupon-box”) return false; }); }); </script>