Jump to content

Sizeing issue on a returned php variable field in a table


Gilly79

Recommended Posts

Wow tougne twister!

 

Ive got a bit of a problem with sizing images!

 

Im returning a picture from my mysql database and im having some trouble rezizing the image on its return from the database.

 

I want them all to be the same size - say 50x50 but I cant seem to get the parameters set up correctly and get errors.. When i take the sizeing out the images are returned in their original format (any size)

 

Here it is below

 

      echo "<tr>";

        echo "<td class=BorderMeRed>".$row["Eventname"]."</td>";

        echo "<td class=BorderMeRed>".$row["Description"]."</td>";

        echo "<td class=BorderMeRed>".$row["Clubbar"]."</td>";

echo "<td class=BorderMeRed>".$row["Town"]."</td>";

echo "<td class=BorderMeRed>".$row["Location"]."</td>";

echo "<td class=BorderMeRed>".$row["Ticket"]."</td>";

echo "<td class=BorderMeRed>".$row["Website"]."</td>";

echo "<td class=BorderMeRed>". "<img src=http://dj-info.netai.net/images/" width="50" height="50" . $row["Pic"]  ." /> <br>";

echo "</tr>";

    }

    echo "</table>";

 

Can anyone pleeeeeeeeease help?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.