Reply to Re: [PHP] showing an image with php

Your name:

Reply:


Posted by Richard Lynch on 10/04/16 11:10

> I want to asssign an image to a variable and show it if certain conditions
> are met. E.g
>
>
> If condition is met
>
> {
> $myimage= retrieve image (images/myimage.jpg)
> echo $myimage
> }
>
> Have not used image creation before with php just dipping my toe in the
> water.

Not sure you need to use image creation now.

All you seem to really want to do is display an <IMG tag, or not, based on
the if.

if (...){
echo "<img src=images/myimage.jpg>";
}

--
Like Music?
http://l-i-e.com/artists.htm

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация