Here is the code in the html page..
Code: Select all
<td colspan="8" class="naviaddlinks">
<p align="right">
<a href="index.php?file=register">
<font color="FFFFFF" type="Verdana">Sign up</font></a> <font color="FFFFFF">|</font>
<font color="FFFFFF">[b]$loginorout[/b]</font> <font color="FFFFFF">|</font> <a href="index.php?file=help" target="_self"><font color="FFFFFF" type="Verdana">Help</font></a>
</td>And here is the code in the php file which links to $loginorout in the html page.
Code: Select all
if(is_user()){
$loginorout="<a href=index.php?file=logout>Logout</a>";
}else{
$loginorout="<a href=index.php?file=login>Login</a>";
}
http://www.supepages.com.ng/
You will notice that all the text on the top is white expect the Login text, which I want to change to white.
So I edited the php file a bit to something like this.....
Code: Select all
if(is_user()){
$loginorout="<a href=index.php?file=logout><font color="FFFFFF" type="Verdana" size="3">Logout</font></a>";
}else{
$loginorout="<a href=index.php?file=login><font color="FFFFFF" type="Verdana" size="3">Login</font></a>";
}Parse error: syntax error, unexpected T_STRING in /home/super/public_html/mainfile.php on line 34
Line No. 34 is ...
Code: Select all
$loginorout="<a href=index.php?file=logout><font color="FFFFFF" type="Verdana" size="3">Logout</font></a>";