A PHP newbie question


it appears can't have php files neatly placed away in directory called php (assets/php), images (assets/images) , css files (assets/css).

 

when use <?php include("assets/php/header.php"); ?>, index.php file doesn't see header.php file. but... if take header.php file , place in root directroy, <?php include("header.php"); ?>, well.

 

any idea i'm doing wrong? please help.

 

mike

<?php include("../assets/php/header.php"); ?>



More discussions in Dreamweaver support forum


adobe

Comments

Popular posts from this blog

Help with codes to add 1 more shift register and add more to matrix LED

tcp client

Can't read sms using Thinker A7 communicate with Arduino