First of all Thank You this is a great tool. I need some help posting out put to different areas of my wordpress site. I'm able to get a table to render on the main page by entering the following code in the sidebar.php page:
<?php
$array = get_cforms_entries(); /* all data, no filters */
echo '<table>';
echo '<tr><th>Name</th><th>Email</th><th>Website</th></tr>';
foreach( $array as $e ){
echo '<tr><td>' . $e['data']['Your Name'] . '</td><td>' . $e['data']['Email'] . '</td><td>' . $e['data']['Website'] . '</td><tr>';
}
echo '</table>';
?>
What I need to know is how to get this code to work in pages,posts, and widgets. When I add the code to a widget via text it doesn't render at all and when I add it to a page it shows the code rather than the table.