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

Impact of movement type 412 E on MAP
Hi

Usage of movement type 412 E is causing huge change in MAP .

Is there any r

True way to see if action was successful?
If this is a good way to see if action was successful to continue:

Code: function changeGa

line breaks in between fetched file names
Hi,

I have this code:
Code: <?php
if($dir = opendir('files')){
while (($f

Get Total From While Loop
I'm trying to get the total for each product and add them for a Grand Total to list outside the loop

Table colours fail when extra row added
Hey Gurus,

I got a weird problem with formating the colour of a table made in php. Everything

show random images
hey guys

can someone please suggest a way in which the following code can be edited so it onl

Registration
ok so i have a site where people can register and login which works now thanks to someone on here th

Where do I put CRON code
So I've figured out alot about how to automatically run a php function. I can't figure out where to

want a code for uploading and downloading
i m trying to upload and download to my site..i need upload and download code ...i use a code for up

Help: calling function
Hi,
Is it possible to call a php function on page close?
If yes, could you explain how and whe

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