<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 fetch instagram posts data?
Fetch Instagram posts data by pasting this code in browser console. (() => { /* ====================================================...
-
Show shape file (.shp)(map) on map with shape file Include gasparesganga package in php code https://gasparesganga.com/labs/php-shapefile/ ...
-
How to show wordpress error messages in woocommer and wordpress? || wc_add_notice Function if(is_null($user)){ wc_add_notice( 'You...
-
Upload file in the database with ajax in Codeigniter? Paste in View <form id="doc_table" name="doc_table" method=...
No comments:
Post a Comment