I would like to use the contents of a field in an SQL table as HTML. The table field contains HTML.

TABLE NAME: "destination"  

HTML code stored in column called: "post"  

Table primary key: "destId"

My PhP code (inside PhP tags of course:

```
// Selects the post from destinations table
$sql = "SELECT post FROM `destination` WHERE destiD = 1;"; //SQL Query
$result = mysqli_query($con, $sql) or die(mysqli_error($con)); //run the query

echo $result; // Inserts HTML

```

Error received: 

> 
> Catchable fatal error: Object of class mysqli\_result could not be
> converted to string in
> C:\xampp\htdocs\travel\including\destinations\1-London.php on line 6
> 
> 
>