echo '<img src="../../images/delete.png" id="aaa" />aaa '; (working fine)
//define('ROOT_DIR', dirname(__FILE__)); is in a file at root folder.
//i able to use this ROOT_DIR to include class files without any problem
//BUT, when I use it with photo image, it just not working!
echo '<img src="'.ROOT_DIR.'/images/delete.png" id="bbb" />bbb';
どうしたらいいですか?画像ファイルの絶対パスが正しく動作しない