1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
<?php
require_once ('mysqli_connect.php');
$q="SELECT * FROM imagens";
$result = @mysqli_query ($dbc, $q)
or die("Error: ".mysqli_error($dbc));
while ($rows = mysqli_fetch_array($result))
{
extract ($rows);
$image_nome = $rows['imagem_nome'];
$image_data = $rows['imagem_data'];
$image_id = $rows['imagem_id'];
}
?>
<html>
<head>
<link rel="stylesheet" href="includes/css1.css" type="text/css" media="screen" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Details</title>
</head>
<div id="container">
<img src="<?php echo $imagem_nome ['imagem_nome']?>
<img src="<?php a href='../images/{$rows['imagem_nome']}'
border='0'>
<img src='../images/{$rows['imagem_nome']}' border='0'
width='100' height='80'></a>"
</div>
</html> |
Partager