Hi
you need:
<img src="<?echo $ulo?>">
or
<img src="<?=$ulo?>">

Tom

At 05:39 PM 16/12/01, David Killingsworth wrote:
>I'm trying to determing why this won't work.
>I wish to assign graphics to variables then call them
>within the HTML on my .php pages.
>------test.php----------
><?
>$ulo = "/images/ulo.gif";
>?>
>
>b8126e.jpg
>-------end test.php---------
>The resulting output viewing the html source from the
>browser is:
>----html output----------
>b812e1.jpg
>-------end html output-----
>
>there is obviously a programming error here, but after
>hours of trying things I'm just missing what it is.
>the <img src> tag should read
><img src="/images/ulo.gif">
>
>What am I missing?
>       David.
>
>__________________________________________________
>Do You Yahoo!?
>Check out Yahoo! Shopping and Yahoo! Auctions for all of
>your unique holiday gifts! Buy at http://shopping.yahoo.com
>or bid at http://auctions.yahoo.com
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to