Solved

How to make colorful syntax displayed?

Posted on 2009-05-11
4
216 Views
Last Modified: 2012-05-06
Hi is there anyway of making colorful syntax being displayed on the site? without having it executing the php code?
0
Comment
Question by:eNarc
4 Comments
 
LVL 9

Assisted Solution

by:wellhole
wellhole earned 20 total points
ID: 24357820
I wish I could understand what "colorful syntax" means. If you're asking about colors, there are a multitude of ways to change text color. The very simplest way would be to add "style" to the html tags.

<p style="color:red">this is my first paragraph</p>
0
 
LVL 3

Accepted Solution

by:
coanda earned 300 total points
ID: 24357891
0
 
LVL 2

Assisted Solution

by:crash36936
crash36936 earned 180 total points
ID: 24359040
0
 
LVL 5

Author Comment

by:eNarc
ID: 24359901
hi wellhole, yea colorful syntex is this below :)
<?php

  echo("link.php");

  phpinfo();

?>

Open in new window

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This article discusses how to create an extensible mechanism for linked drop downs.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now