Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
PHPデータベースから画像を表示しようとしましたが、このコードをロードするたびに新しいページが表示され、「画像を表示できません」というメッセージが表示されます
<?php while($data= mysql_fetch_assoc($query)){ ?> <img src=<?php $image=$data['image']; header("content-type: image/jpeg"); echo $image; ?> /> <?php } ?>