are these codes are right?
these are what i use in retrieving the picture..
these are what i use in retrieving the picture..
Code:
<?Php
error_reporting (E_ALL ^ E_NOTICE);
$Link = mysqli_connect("localhost","root","tupi", "amyak_maleh");
if (!$Link)
{
trigger_error("Could not connect", E_USER_ERROR );
}
$query = mysqli_query($Link, "SELECT picture FROM Registration_form ORDER BY form_no DESC LIMIT 1" );
if($row = mysqli_fetch_row($query))
{
$picture1 = $row['picture'];
}
?>
<table width="200" border="1">
<tr>
<td><input name="pix" type="image" value="<?Php error_reporting (E_ALL ^ E_NOTICE); echo $picture; ?>"/></td>
</tr>
</table>
?>
Comment