Jump to content

josephbupe

New Members
  • Posts

    3
  • Joined

  • Last visited

Everything 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
  2. Hi Ben, I am trying to output an image stored from a directory (it's name save in mysql database) as follows: <img src=\"./images/$row[15]\" width=\"90\" height=\"120\" alt=\"\" /> But I am only getting \"\" printed instead of an image itself. Please, help. joseph
  3. Hi Ben, I have been looking for a practical mysqli tutorial all over the internet I couldn't find one like yours. I am so glad to have found your tutorial here. Please, can you find time to also code a sample to query from a html form with multiple inputs? Stay blessed. joseph
×
×
  • Create New...