updated code but it only shows pic not the rest? [code] <?php $result=mysql_query("SELECT * FROM profiles"); while($M = mysql_fetch_array($result)){ if ($M['img'] !== "") { header("Content-type: image/jpeg"); echo $M['img']; exit (); } else { echo "No Image"; } echo "<table> <tr> <td colspan=\"2\"> {$M[Nick]} </td> </tr> <tr valign=\"top\"> <td><table border=\"0\"> <tr> <td><img src=\"{$M['img']}\" width=\"130\" height=\"170\" alt=\"\" /></td> </tr> </table></td> <td><table width=\"100%\" border=\"0\"> <tr> <td>Name: {$M['First']} {$M['Last']} </td> </tr> <tr> <td>Age: {$M['Age']} </td> </tr> <tr> <td>Sex: {$M['Sex']} </td> </tr> <tr> <td>Location: {$M['Location']} </td> </tr> </table></td> </tr> </table>"; } ?> [/code] thats what it shows [url=http://www.pwdinc.ca/PWD/mem.php]www.pwdinc.ca/PWD/mem.php[/url] dose put the rest of the info in