LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-26-2007, 02:07 PM   #1
orfiyus
Member
 
Registered: May 2006
Posts: 42

Rep: Reputation: 15
Problem change color of text in a link php


Wutup

I am having a problem changing the color of a link in php. What happens is that I ll change the font color but I once I pop the link tags around my page goes blank. At first I thought I typed it wrong so I searched all over the internet and all I have found is what I thought the code should be. Overall the problem is that the code I am trying to use works when I put it in regular html, but when I try to output it through an echo statement my page wont work. Can someone give me a suggestion on how I could do this? Dont know if this is clear or not but the font color changes


heres is what I am typing
Code:
echo "<a href="run_log.php"> <font color="green"> Ftp_Daily </font> </a>";
 
Old 06-26-2007, 02:16 PM   #2
orfiyus
Member
 
Registered: May 2006
Posts: 42

Original Poster
Rep: Reputation: 15
My bad

I wasnt supposed to put the quotes after the equal sign for both tags. I got it working.

Peace
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How change text color using linux in text mode only runlevel 3? Xavius Linux - General 7 05-07-2009 02:19 AM
Console Text Color Change Mercurius Slackware 6 05-16-2006 07:35 AM
What is the command to change text color? BiO|Happy Mandriva 2 06-09-2004 02:54 PM
change text color eterm comprookie2000 Linux - Newbie 3 06-01-2004 05:33 PM
How to change the color of text @ Eterm k0ljat Linux - Software 1 08-26-2003 01:53 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration