Scroll to top


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 all months in php?

Get all months in php for ($m=1; $m<=12; $m++) { $month = date(‘F’, mktime(0,0,0,$m, 1, date(‘Y’)));                            

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 »

How to send custom email template in wordpress?

 Send custom email template in wordpress $body = file_get_contents(WP_CONTENT_DIR . ‘/themes/Avada-Child-Theme/contact-email.html’);$body = str_replace(“#name#”,$_POST[‘quotename’],$body);$body = str_replace(“#email#”,'<a style=”color:#fff” href=”mailto:’.$_POST[‘quoteemail’].’”>’.$_POST[‘quoteemail’].'</a>’,$body);$body = str_replace(“#mobile#”,$_POST[‘quotemobile’],$body);$body = str_replace(“#message#”,$_POST[‘quotemessage’],$body); $toadmin = “[email protected], [email protected], Prospect.600[email protected]”; $adminmessage = “You just

Read More »

How to create print button function?

<html><body> <p>Click the this button for printing</p> <button onclick=”myFunction()”>Print this page</button> <script>function myFunction() {  window.print();}</script> </body></html>                   or <button onClick=”window.print()”>Print this page</button>

Read More »