usually when im linking to something on the main directory from a subdirectory such as
127.0.0.1/downloads/index.php
would have a link to
127.0.0.1/index.php
i did this with $_SERVER['DOCUMENT_ROOT']./index.php
and this method worked wonderfuly on 4.3.1... but now that im using
4.3.2.. it seems to be not working and i get this error
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in c:\apache group\apache\htdocs\everything.php on line 14
and this is my source for line 14
Code: Select all
<a href=$_SERVERї'DOCUMENT_ROOT']./devious.php?id=main>News & Updates</a>