重複の可能性:
MySql、PHP HTml の画像表示
php テーブルの 'ocde のスクリーンショット部分' にある画像を表示するにはどうすればよいですか? 私のウェブサイトにテーブルを表示するとき、コードが現在行っているように名前を写真から見たくありませんが、実際の写真を見たいです:
このコードは、SQL データベースからすべての情報を取得します。
私のコード
echo "<table class=showtable>";
echo "<tr>
<td class=show >".$row['ID']."</td>
<td class=show2>".$row['DateTime']."</td>
<td class=show3>".$row['Stock']."</td>
<td class=show4>".$row['Type']."</td>
<td class=show5>".$row['Trade']."</td>
<td class=show5>".$row['Entry']."</td>
<td class=show5>".$row['Stoploss']."</td>
<td class=show5>".$row['Target1']."</td>
<td class=show5>".$row['Target2']."</td>
<td class=show6>".$row['Explination']."</td>
<td class=show7>".$row['Screenshot']."</td> </tr>";
echo "</table>";
}