|-----------------------------------|-|----------------------------------|
|-----------------------------------|-|----------------------------------|
|-----------------------------------|-|----------------------------------|
|-----------------------------------|-|----------------------------------|
|-----------------------------------|-|----------------------------------|
|-----this is a thumb pic---------|-|---this is a thumb pic-----------|
|-----------------------------------|-|----------------------------------|
|-----------------------------------|-|----------------------------------|
|-----------------------------------|-|----------------------------------|
|-----------------------------------|-|----------------------------------|
|-----------------------------------|-|----------------------------------|
thumb1 text blah blah----------------------thumb2 text blah blah
then below those it would go on to rows of 3 and 4, 5 and 6, etc...
all i have atm is
CODE
while($r=mysql_fetch_array($result))
{
echo "<img src=\"$r[thumb]\"></img><br />test";
}
{
echo "<img src=\"$r[thumb]\"></img><br />test";
}
because i was gonna do 1 per row but the thumbs are too big and it just looks bad. so any help on how to do this? I guess i need the css for it so i can use divs but im not too great with that as i havent done a site in a year or so so im rusty and what do i need to add to the php?
any help greatly appreciated!