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

fire away
i launched about 4 months ago as a lagit co. i have 2 paying clients, 1probono, 1 side progect, and

please fix the error
What is the error in the below code ???
Line number On/Off | Expand/Contract <?php

foreach iterator
Hi Guys
Does the foreach loop have an inbuilt iterator ?

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

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

mysql_real_escape_string making variable equal nothing
i post a form and i post the variable:
Code: $var = $_POST[variable];then i echo $var its what i

Error Messaging not working
I changed the way my form tells the user of an error. But I can't seem to get it to work properly.

Login Functionality Working Different on IE
This is an odd one, I have a site which has an admin section. The admin pages unsurprisingly require

simple ping code
been searchin the site/web and found code thats simple but doesnt work.

I have a personal we

Filename like the user name
I am creating a form and storing the values in file. Could anyone please tell me how to write a code

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