MySQL 데이터베이스에서 이미지를 가져 오려고합니다. 이 오류를 얻을 :데이터베이스에서 이미지 가져 오기
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\empinfo.php:13) in C:\xampp\htdocs\empinfo.php on line 39
<?php
header("content_type:" . $row["image_type"]);
?>
<?php echo $info['image']; ?></td>
</tr>
</table>
<?php } ?>
* 왜 * 실제 이미지를 경로에 맞춰 데이터베이스에 저장합니까? content-type을 이미지로 설정 한 다음 HTML – andy
을 사용하기 때문에 코드가 작동하지 않습니다. 실제로 : 내용을 출력 한 후 'header' *를 사용하고 있다는 오류는 https : //입니다. 그 고정으로 그것도 작동하지 않습니다 stackoverflow.com/questions/8028957/how-to-fix-headers-already-sent-error-in-php – andy