-2
このコードは私にクラムを与えています。私はデータベースからすべての画像を表示したいPHPは助けてくださいheader( 'Content-Type:image/jpeg')
header("Content-Type: image/jpeg");
$con = mysql_connect("localhost", "admin", "test") or die('Could not connect to server');
mysql_select_db("myweb", $con) or die('Could not connect to database');
$query = "SELECT * FROM photos";
$result = mysql_query($query);
$row = mysql_fetch_array($result,MYSQL_ASSOC);
$pic = $row['pic'];
echo $pic;
あなたは何もしようとしなかったようです。 – Phiter