Hello,
When I select my images they are opening. Only the jpg will not come in clearly. If you know the code to correct this can you please tell me, Thanks puddin
Here is my code:
<?php
include'db.php';
// get the variables from home page
$password = $_SESSION['password'];
$email_address = $_SESSION['email_address'];
$sql_check = mysql_query("SELECT aphoto_filename FROM myd WHERE email_address='$email_address'AND password='$password'");
$aphoto_filename = mysql_fetch_array($sql_check, MYSQL_BOTH); //MYSQL_BOTH;
$sql_check_num = mysql_num_rows($sql_check);
if($sql_check_num == 0){
echo ("You do not have a photo uploaded, please upload a photo");
} else {
echo "<img src='".$images_dir."/".$aphoto_filename['aphoto_filename']."'>" ;
}
?>
</p>
It brings in gif photos perfect, but not jpg's!