How to fetch data from database in wordpress?
<table border=”1″> <tr> <th>Name</th> <th>Phone no.</th> <th>city</th> </tr> <tr> <?php global $wpdb; $result = $wpdb->get_results ( “SELECT * FROM myTable” ); foreach ( $result as $print ) { echo ‘<td>’
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.
<table border=”1″> <tr> <th>Name</th> <th>Phone no.</th> <th>city</th> </tr> <tr> <?php global $wpdb; $result = $wpdb->get_results ( “SELECT * FROM myTable” ); foreach ( $result as $print ) { echo ‘<td>’
<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>
exchange related products with full description in woocommerce add_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_output_related_products’, 2 ); remove_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_output_related_products’, 20 ); Get more information Read More Posts
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>’; ?>
How to align center div in div in html ? <html> <head> <style> .outer{ width: 100%; height: 100vh; background:red; } .container{ width: 35%; height: 60vh; background:blue; position: absolute; top:0; bottom:
use ajax in wordpress Use in main.php file which you will create
Add button next to add to cart button in shop page in woo-commerce. Are you want to create a custom button next to add to cart button in woo-commerce. if
wpcodekit Website Designers is one of the best website designing company in punjab 2020. We create beautiful looking, fast and secure websites.We are create professional websites in punjab since 2016.