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';
夥計們,任何想法有什麼不對?圖像文件無法正常工作的絕對路徑