Translate

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body><?php
mysql_connect("localhost","root","");
mysql_select_db("db");
$a = mysql_query("select * from tbl");
while ($row = mysql_fetch_array($a))
{
?>
<img src ="<?php echo $row["a"]; ?>" height="100" width="100" /> <?php echo"<br>";
echo $row["b"];
}
?>
</body>
</html>

No comments:

Post a Comment