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

Get ID from Database when Posting with a HTML Form
I have a form I am submitting to a MySql database. Each product has an ID # attached to it that auto

session checking in page load
hai all I have a web site is www.Mryas.com in this my login page is Page1.aspx its co

Preg_match with an array
is there an away to use preg_match with an array?

i want to check a string with an array to s

returning data from an ssh2_exec()
here's what i got.


$conn = ssh2_connect($this->_host);
ssh2_auth_password($c

Please help with SMTP Authenticated PHP Email Form
Hello, I'm creating a PHP email form, and for this particular server, I have to use SMTP Authenticat

what business processes?
Hi,

A general question. What business processes (like OTC - Order to Cach, P2P, R2R etc)

php include email form with attachment
I have had no luck with finding a email form all over the Internet for various reasons. Some insecur

Final year project, please point me in the right direction
hi there for my final year project I'm aiming to build a php script shell to use as an expert system

form problem
below in the form action, i've put "test.php?w=$sw&h=$sh" but when i input the for

Passing vars to the DB
I have 3 small testing tables:

ID TYPE
1 pepperoni
2 C. bacon
3 taco

ID TY

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