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

multiple recipients + dbuser mail recall
Hello,

I am building a php login script.

When the user registers the script will send

Login page problems
I developed a website a few months ago and I am now having an issue with logging into it. The place

Setting condidtions for an input box
Hi all,

I would like to set a condition in a txt box that says the number a user enters has t

mod_rewrite.c on windows ??
why it's not working on windows while it's working on other hosts???

this is the code i got

Escaped characters
I have a script that allows you to post news to the home page of my site. Along with the news is the

Showing selected item at top of list
Hi,

I've got a list of names which i am fetching from database like this:
$qry = db_query

button help
i originally had this but realised it is much easier to have a button.

Code: <?php

writing a screen scraper
Hello,

I'm writing a screen scraper application and want to be able to get absolute addresses

Include with Parameters
In a particular page I would like to include a file that requires $_GET parameters.

when I go

PHP & Java
Hello,

can PHP code be used inside java code?

Code: <SCRIPT LANGUAGE="Java

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