Top DevX Stories
Creating Custom Export Filters for StarOffice with XSLT
WPF Wonders: Using DataTemplates
Crystal Reports Family Offers Options for Developers
Avaya Aura Session Manager video
Avaya Aura Overview video
Search the forums:

Go Back   DevX.com Forums > DevX Developer Forums > Web

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 10-27-2009, 08:54 PM
kabucek kabucek is offline
Registered User
 
Join Date: Aug 2006
Posts: 47
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>"; } ?>
Reply With Quote
  #2  
Old 10-28-2009, 12:26 PM
Hack's Avatar
Hack Hack is offline
Super Moderator
 
Join Date: Apr 2007
Location: Sterling Heights, Michigan
Posts: 7,719
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
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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


All times are GMT -4. The time now is 10:30 AM.


Sponsored Links



Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.