I am trying to display an image coming from the database and I was not able to display the image .but its showing like this user-1.jpg Please see my code can on
user-1.jpg
put this code to your php page.
$sql = "SELECT * FROM userdetail"; $result = mysqli_query("connection ", $sql); while ($row = mysqli_fetch_array($result,MYSQLI_BOTH)) { echo ""; echo "".$row['text']. ""; }
".$row['text']. "
i hope this is work.