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

Help with echo()
I'm having some problems with this code:

Code: echo '
<A HREF="jav

array_map() probably obvious mistake
The code below is part of a class to escape strings, but should also accept an array, using array_ma

please help me in this update statment
hi every one

if I have table and this data in it

id name
10

Multiple while loops
I have several DB queries that I know should be returning results and aren't. I have a feeling it ha

cookie problem
I hv a website url
In this site main menu functionality based on cookie when user click on parti

selectbox+database connection retrive problem
Code: [Select]
<tr>
<th align="left" scope="c

A Few Questions
Hi, I want to ask a few questions that I can't seem to find..

1) I'm creating a "shortcu

question about header() security
is is safe to just use the header() function to redirect someone if they are, say, not logged in? or

ldap connection
We are using ldap to get user information from the domain controller. It was working before. Recentl

how can i make a .gif images for my site
Dear Friends ,

Pls solve my problem , I am starting making new site but i dont know how can 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