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?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.