HELP how to call root directory from a folder within??
Posted 23 July 2006 - 10:15 PM
$title = "mysite ";
this is in the root folder. but my other pages inside of folders within the root, are set up the same way and dont pull the info like it should. I can place those pages in the root and the work, but within another folder they dont. Im sure its a easy fix, but im a complete n00b and cluess. Any help would be greatly appreciated.
Posted 23 July 2006 - 10:26 PM
((EMAIL CODE THAT WORKS))
((PAYPAL INTEGRATION THAT WORKS))
Posted 23 July 2006 - 11:06 PM
huh? u lost me.... the example I posted works fine in the root, but the .phps in folders within the root it doesn't work. I being a n00b can only guess theres a command to tell it to look in the root or one directory up. but I'm new to al this.
say the example I posted above is my index.php, it works in the root, but if I move to say folder /includes it doesn't pull those like it should. any suggestions. I need help quick
Posted 24 July 2006 - 12:24 AM
include "../_header.php"; // up one. include "../../_header.php"; up two.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users