Solved

How to make colorful syntax displayed?

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Testing a string condition in PHP 6 22
php construct 5 26
comma true 6 32
mysqli_connect error on wamp but not on remote server 8 20
Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
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 dynamically set the form action using jQuery.

786 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