how can i display php source code snippets ?


Posted on 16th Feb 2014 07:03 pm by admin

I am outputting some pho code .. and I want to display the source code so people can copy and paste it .... not really wanting to use a TEXTAREA box .... any ideas ?
No comments posted yet

Your Answer:

Login to answer
245 Like 27 Dislike
Previous forums Next forums
Other forums

Question handling xml data
Hello,

I have sucessfull followed this tutorial
http://www.phpfreaks.com/tutorial/handlin

start new row of pictures
on my site www.budstreasureauctions.com there is a featured auctions box that users will pay to get

LinkedList help
Ok so I just learned quickly about lists, so I have a not too hard project I think, but am having a

Why is this function returning a false value when it shouldn't be??
This is in an include file. I want it to check a value in an html form and see if it's just white s

Using loop to count number of entries
I'm writing a program that must ask user to type in numbers. After each entry, the program has to re

Beginners syntax and loop questions - help please!
Hi everyone,

I have some problems with php code. I'm currently in the middle of learning php,

how to load php class from another domain?
how to load php class from another domain?

quotes changing
hi all

in my content

opening quotes " changes to “

close qu

Passing JS to PHP
So I have the following
Code: <?php
getdetails(?><script type="text/

help with variable
I've got a problem, i want to echo some images depending on the $id, however for me to get that id i

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash