How to write HTML in PHP and PHP in HTML again?
The following error message appears:
Parse error: syntax error
<?php
echo"<div class='vod'>
" /////// i need right php her
$con = mysqli_connect ("localhost","root","","demo");
$id = @addcslashes ($_REQUEST['id']);
$image = mysqli_query ($con,"SELECT * FROM img WHERE id= '$id '")or die(mysqli_error($con));
$image = mysqli_fetch_assoc ($image);
$image = $image['img'];
header ("content-type: image/jpeg");
echo $image ; "
</div>";
?>