Posted by SM on 11/05/07 21:18
Hello
i have a constant define like this
define('PHOTOGRAPHY', 'images/photography/');
The outpout (html) should look like this:
<img src"images/photography/123.jpg">
How do i insert a constant in an HTML <img> tag. I've try dozens of
combinations with no results.
Here' part of the code
....
<div id="main_image">
<img src="<?php echo $photo_filename; ?>" />
</div>
....
thanks
[Back to original message]
|