Ask a Question related to PHP Development, Design and Development.
-
Stephen Russell #1
Pictures displayed in PHP
Sorry for the cross post if that offends you.
First playing with PHP & MySQL. I want to create a 2 column table. Picture
on one side and multiple MySql columns in the description Column. Like a
shopping cart display page.
Image Descript
XXXXXXXX Table.Col3
XXXXXXXX Table.Col4
XXXXXXXX Table.Col5
XXXXXXXX Table.Col8
XXXXXXXX Table.Col9
Column 6 in my table is the image "015689.JPG"
Can someone give me a reference to how to display that image in a table and
then how to get the various rows in a table.
TIA
__Stephen
srussell at lotmate . com.
Stephen Russell Guest
-
Flash not displayed in cf8
I have developed an application and use flash (swf) as a banner. The problem is the swf object not being displayed at browser (ie6 and ie 7) if i'm... -
some files are not displayed
I have a swf which it receives it's content from xml files. It displayes jpg's and mp3's by getting their paths from xmls. (also I must note that... -
getting ?????? displayed
i am trying to display japanese from database utf 8 on the output page but no luck ... -
The XML page cannot be displayed
'form' does not match the start tag 'input' This started popping up when my client whent to edit homepage. He is using v.2.0 Any ideas? ... -
Column with pictures instead of 0s and 1s (boolean value representation in pictures)
Hi everybody, I have the following problem: I have a datagrid and a bound column to a data field which serves to indicate whether an item is... -
Stephen Russell #2
Re: Pictures displayed in PHP
Sorry.
I am have the SQL portion down. My $query has all the data I need. I just
need to get the display rendered like I want.
Within a table of two columns, I want an image in the left side. And in the
right I want to have multiple MySQL columns displayed much like this
Image Description
XXXXXXXX Table.Col3
XXXXXXXX Table.Col4
XXXXXXXX Table.Col5
XXXXXXXX Table.Col8
XXXXXXXX Table.Col9
Where the Table.ColY represent different aspects of $Query.
When I make a for loop my data is more like
Image Description
XXXXXXXX Table.Col3 Table.Col4 Table.Col5 Table.Col8 Table.Col9
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
TIA
__Stephen
"Darryl Porter" <dporter3@woh.rr.com> wrote in message
news:lN3Va.27485$ib2.8601775@twister.neo.rr.com...a> please provide concise info of what you want to do. Are you talking about
> MySQL tables or HTML tables?
>
> "Stephen Russell" <Stephen.Russell@somewhereovertherainbow.org> wrote in
> message news:4DYUa.95064$X43.17414@clmboh1-nws5.columbus.rr.com...> Picture> > Sorry for the cross post if that offends you.
> >
> > First playing with PHP & MySQL. I want to create a 2 column table.> > on one side and multiple MySql columns in the description Column. Like> and> > shopping cart display page.
> >
> > Image Descript
> > XXXXXXXX Table.Col3
> > XXXXXXXX Table.Col4
> > XXXXXXXX Table.Col5
> > XXXXXXXX Table.Col8
> > XXXXXXXX Table.Col9
> >
> > Column 6 in my table is the image "015689.JPG"
> >
> > Can someone give me a reference to how to display that image in a table>> > then how to get the various rows in a table.
> >
> > TIA
> >
> > __Stephen
> >
> > srussell at lotmate . com.
> >
> >
>
Stephen Russell Guest
-
Dmitry Ruban #3
Re: Pictures displayed in PHP
Well,
Very simple decision is
echo "<table>";
while ( $r = mysql_fetch_array ( $rst ) )
{
echo "<tr><td>".$r[0]."</td><td>".$r[0]."</td></tr>";
}
echo "</table>";
If Image is binary data then it won't be correct.
Dima
just> Sorry.
>
> I am have the SQL portion down. My $query has all the data I need. Ithe> need to get the display rendered like I want.
>
> Within a table of two columns, I want an image in the left side. And inabout> right I want to have multiple MySQL columns displayed much like this
>
> Image Description
> XXXXXXXX Table.Col3
> XXXXXXXX Table.Col4
> XXXXXXXX Table.Col5
> XXXXXXXX Table.Col8
> XXXXXXXX Table.Col9
>
> Where the Table.ColY represent different aspects of $Query.
>
> When I make a for loop my data is more like
>
> Image Description
> XXXXXXXX Table.Col3 Table.Col4 Table.Col5 Table.Col8 Table.Col9
> XXXXXXXX
> XXXXXXXX
> XXXXXXXX
> XXXXXXXX
>
> TIA
>
> __Stephen
>
>
> "Darryl Porter" <dporter3@woh.rr.com> wrote in message
> news:lN3Va.27485$ib2.8601775@twister.neo.rr.com...> > please provide concise info of what you want to do. Are you talkingLike> > MySQL tables or HTML tables?
> >
> > "Stephen Russell" <Stephen.Russell@somewhereovertherainbow.org> wrote in
> > message news:4DYUa.95064$X43.17414@clmboh1-nws5.columbus.rr.com...> > Picture> > > Sorry for the cross post if that offends you.
> > >
> > > First playing with PHP & MySQL. I want to create a 2 column table.> > > on one side and multiple MySql columns in the description Column.table> a> > > shopping cart display page.
> > >
> > > Image Descript
> > > XXXXXXXX Table.Col3
> > > XXXXXXXX Table.Col4
> > > XXXXXXXX Table.Col5
> > > XXXXXXXX Table.Col8
> > > XXXXXXXX Table.Col9
> > >
> > > Column 6 in my table is the image "015689.JPG"
> > >
> > > Can someone give me a reference to how to display that image in a>> > and> >> > > then how to get the various rows in a table.
> > >
> > > TIA
> > >
> > > __Stephen
> > >
> > > srussell at lotmate . com.
> > >
> > >
> >
>
Dmitry Ruban Guest



Reply With Quote

