i created a page content type, and put this code in it. and set the input style to php.why the image can't show. i test it on my localhost.
<img src="<?php echo $bath_path; ?>/images/1.jpg">
i created a page content type, and put this code in it. and set the input style to php.why the image can't show. i test it on my localhost.
<img src="<?php echo $bath_path; ?>/images/1.jpg">
Drupal way: