TheFilmGod Posted December 23, 2006 Share Posted December 23, 2006 Hi, I got my script to work and all but I have a simple flaw. (Which I can't figure out)... Maybe you can help:Script Line:$path="xpoll/";include(".$path.functions.php");- The first line works fine, but the second gets a result of:.xpoll/.function.phpAs you know, that is not proper relative link. Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/31725-solved-variables-help/ Share on other sites More sharing options...
Jessica Posted December 23, 2006 Share Posted December 23, 2006 include($path.'functions.php');You have a dot in your string. That is why the dot is there. Quote Link to comment https://forums.phpfreaks.com/topic/31725-solved-variables-help/#findComment-147056 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.