Jump to content
MakeWebGames

Noob question


rigla

Recommended Posts

How do i change the color of the 'Your Gang' ?

tried span, font color etc wont let me put this in php ive no ideea how to do it, please post the easiest solution :mrgreen:

{
 print "[url='yourgang.php']Your Gang[/url]
";
}
Link to comment
Share on other sites

Re: Noob question

 

{
 print "[url='yourgang.php']<font color="#00FF00">Your Gang</font>[/url]
";
}

 

tried this long time ago because i know a little html but..i get this error

Parse error: syntax error, unexpected '}' in /home/streets/public_html/beta/mainmenu.php on line 53
Link to comment
Share on other sites

Re: Noob question

hrm are you sure its a good ideea? i want to change the color of other links too..ill have to remove too many { im afraid ill screw something up :P will try thx

edit: Parse error: syntax error, unexpected T_IF in /home/streets/public_html/beta/mainmenu.php on line 54

Its screwing the next if statement..

Link to comment
Share on other sites

Re: Noob question

 

You need to change the double quotatios to single quotations. Like so:

 

If your using quotations within quotations you can't use the same ones. So if your surround the code in single quotations: ' ' all the code inside must use double quotations " " else the script will end prematurely. Works the same vice-versa.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...