$result = mysql_query("select profilepic from `profile` where id = '$pid' "); if ($result) { if ($row = mysql_fetch_array($result)) { $img = $row["profilepic"]; } } header("Content-type: image/jpeg"); echo $img;
Aucun commentaire:
Enregistrer un commentaire