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

Empty text file when there is over XXXX lines of text.

define("RANDOM_FILE","/public_html/random.txt");
$randomEntry = "

EU VAT Package 2010
Does any one know whether SAP will be developing new reporting functionality due the new VAT rules t

Select Lists into MYSQL
Hello All, I am new to PHP @ 1 week. So borrowing code anywhere I can. I am making progress, but h

textfield unchanged
hi,
i want my form to know whether its textbox is unchange or not.

if($textbox == 'unchang

need help with mail()
hi i want to send an email with attaching pdf file using php. i have the following script but the pr

System copy error in RUN ABAP REPORT PHASE
Hi,
I am performing system copy on my test server. I have previously taken export of JAVA + A

Include a php
Hello,

I'm trying to include a function that shows the recent searches.
Example I have <

Warning: mysql_num_rows() expects parameter 1
When i add quote at the end of this link
example:http://localhost/articlemania/category.php?cid=3

SWF image using php?
Hello once again.

My latest en devour requires me to produce an image of a static .swf that i

Attempt to assign property of non-object in...
I'm having issues with the following function in PHP 5...

function getTreeWithChildre

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