getting pictures to display on include pages

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
nanday
Forum Newbie
Posts: 1
Joined: Thu Feb 11, 2010 12:32 pm

getting pictures to display on include pages

Post by nanday »

I am a rank beginner with PHP, and I've suddenly found myself in the position of trying to maintain a site. I have no notes, so I've been reverse
engineering its structure. It's a PHP site with a MySQL database for images that go into a number of galleries, and a lot of includes.

My problem is that I am trying to get an image to display on an include. However, all I can manage is the alt attribute text. At first, I wondered if
the image needed to be in the database, but that's specific to the galleries, not the rest of the site. Besides, since the alt text is being picked up, the
image is obviously being found.

I've been searching the web for answers, but I haven't had any luck. Can someone suggest a solution or a resource where I can find an answer?
User avatar
AbraCadaver
DevNet Master
Posts: 2572
Joined: Mon Feb 24, 2003 10:12 am
Location: The Republic of Texas
Contact:

Re: getting pictures to display on include pages

Post by AbraCadaver »

Need code.
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
Post Reply