Solved

How to make colorful syntax displayed?

Posted on 2009-05-11
4
221 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
I've got an interview this morning and I want to sound intelligent... 4 69
How do I fix this UPDATE error? 7 32
php56-php-mcrypt for rhel7 php56 1 45
check mysql insert 12 26
I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
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…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.

809 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