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

Is there a more efficient way to code this than what I have?
I have three associative arrays.

$combinedSettings
$userSettings
$defaultSettings

error help - Dynamic Image
I've been working on making my site less cluttered in the directories and more secure lately. In an

Local file browser with php
Halo..

So this is what i want to create. I have a folder that i share and it has many movies.

getting a website's source code as a variable? How?
Hey guys, is there any way for me to get the source code of a website as a variable for me to work w

Blank record injected into database
I always found several blank records inside my database, although $SESSION is required to insert the

uploading video files into mysql in php
hi,
I have the video files which i have to upload into mysql db. along with creating thumbnails f

check comment for html
hi, I just wanted to check if a comment a user posts contains HTML, and if it does, to not allow it

Creating XML with php
I need to creat an XML with php and have successfully produced a valid output.
The problem I hav

date("now") prints out wrong date ?
Hi Guys
Anyone know why and how I can fix it ?

Hotlinking Picasa as the image folder of a website
Hi there PHP freaks, I would like to create a private album in Picasa to use it as the image folder

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