last time i have ask for how to upload image... now i would like to preview the image... what is the command to preview the image? when i press the browse button, then select a image file to preview... do i need to create a frame to preview the image?
You can open it on a pop up window, a frame, or in the same page. Just get the path from your database and assign it with the image tag's src property.
<image src='<? =$imagePath; ?>' height='20' width='20'>
If the path stored in the database doesn't contain the name of the file, append the name of the file in its link.
<a href='preview.php?flename=<? = $fleName; ?>'>Image Name</a>