Hello friends
after tried some tables to fix displayed queries, seems it is much more flexible with css.
here some tries:
gives me an error
"Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in D:\Program Files\EasyPHP 3.0\ on line 21"
seems that i have a little problem with double quotes? tried to chane into ' but doesn't have great impact on script....
If if a kind soul could advertise me i would be great.
Thnk u
after tried some tables to fix displayed queries, seems it is much more flexible with css.
here some tries:
Code:
<?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>
<body>
<div id="container">
<img src="<?php echo "../images/$rows['imagem_nome']" ?>" border='0'>
</div>
</body>
</html>
"Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in D:\Program Files\EasyPHP 3.0\ on line 21"
seems that i have a little problem with double quotes? tried to chane into ' but doesn't have great impact on script....
If if a kind soul could advertise me i would be great.
Thnk u