Solved

How to make colorful syntax displayed?

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

Easy Project Management (No User Manual Required)

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

762 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

20 Experts available now in Live!

Get 1:1 Help Now