<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>' $print->firstname.'</td>';
}
?>
</tr>
</table>
We provide knowledgeable blogs related to php, jQuery, html, css, wordpress, woocommerce, cordova app with examples in 2021.
06 August 2019
Subscribe to:
Post Comments (Atom)
How to add re-captcha v3 on all Elementor forms using coding?
Add re-captcha v3 on all Elementor forms using coding add_action('wp_footer',function(){ ?> <script src="https://www...
-
Preview doc or docx file in html/iFrame var link = "paste docx file link here"; var iFrameUrl = 'https://view.officeapps.live....
-
Detect the current user has an active subscription in Woocommerce. function has_active_subscription( $user_id=null ) { // When a...
-
Add re-captcha v3 on all Elementor forms using coding add_action('wp_footer',function(){ ?> <script src="https://www...
No comments:
Post a Comment