Scroll to top

Blog

I would like to discuss on whatever your requirement will be. Also I feel pleasure to be a part on that. So let’s just the conversation and finish this in efficient way.

How to get(search) record in table with ajax via dropdown?

get(search) record in table with ajax via dropdown Use in main file which you will create  <script src=”<?php echo plugin_dir_url(__FILE__);?>/js/jquery.min.js”></script><script> jQuery(document).ready(function($){ $(“.selectcustomer”).change(function(){ var name = $(“.selectcustomer”).val(); /* alert(name); */ var

Read More »

How to add days in a specific date in php?

How to add days in a specific date in php?   <?php $Date = “2010-09-17”; echo date(‘Y-m-d’, strtotime($Date. ‘ + 1 days’)); echo date(‘Y-m-d’, strtotime($Date. ‘ + 2 days’)); ?>

Read More »

use javascript in php or how to redirect on any page in php <?php echo ‘<script LANGUAGE=”JavaScript”>window.location.href=”‘.site_url().’/loginform“;</script>’; ?>

Read More »