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 ?

245 Like 27 Dislike
Previous php-forum Next php-forum
Other php-forum

Delete all files in folder except with certain name
I have a script that I want to delete all files in a folder (taken from a database) except for one n

New Login Script
Hi all, i attempted to create a whole new login script witch isnt working for some reason i dont kno

Parse Error
Hi Guys,

I have a function in my class which returns a string link variable. The problem is i

try catch error
I have been trying try catch but, I can't get it to work. The code opens a non existing file called

Undefined Variable: PHP_SELF, pls help
Hi,

Im a newbie on PHP / MySQL programming and Im running a script to search one field on my

Hyperlink is adding an extra gap to variable
Hi, here's my problem..

I have a php generated page with a hyperlink which opens in a new win

Paypal
Hi all,

I have an advanced basic knowledge of php

I want to try something new for a s

Find only certain URLs from page ... regex (semi-complete script)
Hi guys,

What I need to do is take a page & extract all the URLs from the page &a

newbie error
what is wrong with this code ?

<html>
<body>

<?

Pulling out some result data from MYSQL
Hey Guys,

I've built a PHP page that has a for just imagine something like registration form

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