|
#1
|
|||
|
|||
|
display images from database
hello all,
I got small query to pull out image from database. It creates a table but second image is displayed below (verticaly). I want it to be displayed horizontaly, how can I achieve that? Thanks !! $result2 = mysql_query("SELECT * FROM tbl_usr_gal_pic where usr_email ='$email1' "); while($row2 = mysql_fetch_array($result2) ) { echo " <TABLE BORDER=0 CELLPADDING=4> <TR> <td>"; echo '<img src =\'' . $row2[3] .'\' width="140" height="160" border="0" >'; echo "</td> <TD></TD> <TD> </TD> </TR> <TR> <td>Name</td> <TD> </TD> <TD> </TD> </TR> <TR> <td>$1,000.00</td> <TD> </TD> <TD> </TD> </TR> </TABLE>"; } ?> |
|
#2
|
||||
|
||||
|
Moved From The Lounge
__________________
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section. ![]() Please use [Code]your code goes in here[/Code] tags when posting code. Before posting your question, did you look here? Got a question on Linux? Visit our Linux sister site. Modifications Required For VB6 Apps To Work On Vista ![]() Microsoft MVP 2005/2006/2007/2008/2009 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| storing images into an image list control from our database | aks79 | VB Classic | 6 | 03-28-2006 09:36 AM |
| SOLVED: Re: Display 2 fields in my a database table in a list box | qwasted | VB Classic | 0 | 08-25-2002 09:50 PM |
| SOLVED: Re: Display 2 fields in my a database table in a list box | folbabe | VB Classic | 0 | 08-23-2002 05:25 AM |
| Display 2 fields in my a database table in a list box | folbabe | VB Classic | 2 | 08-23-2002 05:22 AM |
| Should I put images in a database | John Meyer | VB Classic | 3 | 01-25-2001 06:42 PM |