Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Template Name: Klienci
- */
- get_header(); ?>
- <?php
- global $wpdb;
- $customers = $wpdb->get_results("SELECT * FROM wp_formmaker_submits;");
- echo "<table>";
- foreach($customers as $customer){
- echo "<tr>";
- echo "<td>".$customer->element_label."</td>";
- echo "<td>".$customer->element_value."</td>";
- echo "</tr>";
- }
- echo "</table>";
- ?>
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement