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

if php cookie set, show code...
Hi all.. I need to figure out this little snippet right quick.. seems like it should be easy enough

very easy question about SQL info
Hello,
I think that I have a very easy question.
I know how to create a form using php SQL and

array help
Does anyone know how to require 10 text fields for individual grades and output class average? (10 p

Php - mysql store data and use it later?
Hi, i' making a login page at the moment, however my username + password is stored many different pl

IF Statement & Two Tables With Different Echoes
I'm retrieving two tables in a single query using UNION ALL, like so:

Code: $query = "SE

ob_ dynamic content
i was wondering about the potential to use ob to create a <div then remove it when the page

Option box to change variable
Hello, i need help by making a script!

I need to write a file with option box, so a dropdown

Install page
How do I make it so when a user submits information on the Install page, it'll right it into the cor

Form submissing with PHP and JQuery/Ajax
I have searched everywhere, but cannot find a solution for this... I have worked all day trying to g

Points for Wiki contribution
Hi everyone,

I want to know how long does it take for the moderator to award points for a

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