here is a little outline of my php pages and to help give a better idea of what it is i am needing help.
index.php (contains all include statements to execute the files below in that order)
- header.php
- nav.php (when I try to call the pagetitle function here to run it, it says undefined)
- body.php (if I call the function here it will execute perfectly)
>> articles(inserted through the php include statement > article 1 (which contains the function pagetitle)
- footer.php
how can i get it so that the function i created in the article 1.html file will run and execute in nav.php
any help is always appericated.
|