Jump to content

josephbupe

New Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by josephbupe

  1. Hi,

     

    In my learning process I am re-writing my code from mysql to mysqli. But I can not get my image to echo with the following code.

     

    echo "<td valign=top>\n
    
    <table width=150 border=1 align=left class=allborder> \n
    <tr> \n
    <td width=70>$row[1]</td> \n
    </tr>\n
    
    <tr> \n
    	<td><img src=\"./images/$row[15]\" width=\"90\" height=\"120\" alt=\"\" /></a> \n
    	</td>
    </tr>\n
    
    </table>\n</td>\n
     ";		

     

    There is no error given.

     

    The images are stored in a folder named "images" while their names (i.e. image1.jpg) are saved to the database. I have checked and the image field in on row number 15 as indicated.

     

    How may I resolve this?

     

    Joseph

×
×
  • Create New...