Miller, Terion wrote:
I am trying to get an image to display but I get nothing if done like this:

   <tr>
            <td>Scout Photo:</td>

   <td><img src="<?php echo $row['ePhoto'];?>"></td>

</tr>
If I just echo the field I do get the file name....




Do you get the just the file name or the full path to the image on the server?

If, say, the image is at /images/jamboree/whatever.jpg but $row['ePhoto'] only produces whatever.jpg, try:


<tr>
   <td>Scout Photo:</td>
   <td><img src="/images/jamboree/<?php echo $row['ePhoto'];?>"></td>
</tr>


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to