I have the follow for my wordpress plugin:
<body>
<h1>My example site</h1>
<?php
global $wpdb;
//require_once('../../../wp-load.php');
$posts = $wpdb->get_results("SELECT * FROM red_reservacion;");
foreach($posts as $row)
{
}
?>
</body>
That in my .php
file.
But when the page is rendered in my browser displays:
I think the problem is the greater than symbol
Exist a way to fix it?