But i have a problem with my font end files…basically they all have to be pathed from the root becuase when i include the master page from anouther directory e.g. (include ‘…/master.php’) all of the included files such as my .js and .css will attempt to path from my current working directory instead of being relative to the master.php’s position.
I believe i could solve this with the htaccess file but am unsure since that is backend and my problem seems frontend. Anyway, just wondering if anyone has encountered the same problem.
I dont think that is what im looking for, thanks though, i solved the problem by setting a $path variable and sending it back to the master page, including files like this:
yeah <?=$var?> is the same as <? echo $var; ?> and you can use concantenation with it ie: <?=$var,$othervar,$thirdvar?> I find it pretty epic 8-D altho I do believe you have to have shorttags turned on… I’m not sure on that.