Hello all. Here's my problem.
I defined a root as a variable.
$imgroot = ($_SERVER['DOCUMENT_ROOT'] . '/images/'); // image root
Now in the HTML document, I put the $imgroot variable to use.
<img src="<?php $imgroot; ?>title_news.gif" width="60" height="30">
When I do this, the root doesn't appear to work since it comes out with an X image. When I check the properties of the image, the URL doesn't appear to be following the $imgroot root. Can anyone help me out or point out where I am wrong? Thanks in advance.