Jump to content

[SOLVED] How to display images from url


Meekay

Recommended Posts

Hello, i'm a bit of a spaz.  But anyway...

 

I have images stored in a folder on the server, and the file names are stored in a mysql database.  Intead of displaying the file name, i want to display the image.  Simple! 

 

$sql = "SELECT col_2, col_19 FROM ft_form_1";
$query = mysql_query($sql);
while($row = mysql_fetch_assoc($query)){
    echo $row['col_2'].'<br />';
    echo $row['col_19'].'<br />';

 

I would really appreciate you help.

 

Thanks,

 

Link to comment
https://forums.phpfreaks.com/topic/42383-solved-how-to-display-images-from-url/
Share on other sites

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.