i'm storing 2 images at a time in my database table in a single row.
1st image was Applicant Photo Name as Image In Db & Second Image Was Applicant Sign Name as Sign in Db.
So I'm retriving Both At single shot.But I'Want To Display Images Both At a Time..
Please Help Me.
$sql = "SELECT image,sign FROM test WHERE id=" .$_GET['id'] . ";";
// the result of the query
$result = mysql_query("$sql") or die("Invalid query: " . mysql_error());
// set the header for the image
//header("Content-type: image/jpeg");
//echo mysql_result($result,0);
// close the db link
while($row=mysql_fetch_array($result))
{
header("Content-type: image/jpeg");
echo $row[0];
echo $row[1];
}
Quoted Text Here
But it Was Displaying Image Only..Help me How to dispaly Both At Once...