Ad block is installed and active. Please support us by disabling it.
HomeThursday, September 21, 2017, 03:15:24
3

PHP highlight_string - PHP Tutorial

Tuesday, February 10, 15, 12:09:01, 3 Yaers Ago Via wain, Hits: 2534
Outputs or returns a syntax highlighted version of the given PHP code using the colors defined in the built-in syntax highlighter for PHP. Requirement(s): PHP Server.
Code:
<?php
$string = '<?php echo "phpform.net"; ?>';
echo '<pre style="border:1px solid #CC0000;padding:5px;width:230px;">';
highlight_string($string);
echo '</pre>';
?>

Sign In

Sponsor

Related

PHP Redirect

Header (location) redirect must be processed before any output to the browser.

MySQL – Select from two tables

Select data from two tables, PHP MySQL

GuestBook PHP Script

Allow visitors to leave messages on your site. It features easy install, admin notification, and control panel to remove unwanted entries.

Preg_Match - PHP Form Validation

PHP form validation with preg_match

Jquery - Formatting International Phone Numbers

How to format international telephone numbers with jquery

Inserting form data in MySql table

Inserting form data in MySql table with PHP

PHP Cookies and Sessions Tutorial

PHP Cookies and Sessions Tutorials

PHP filesize

The filesize function returns the size of the specified file.

Link Base 1.1. - Free PHP Link Index Script

Manage your links using a MySQL database. Features easy install, user submission, and an admin panel to add, edit and remove categories and links.

Math Captcha V6

PHP Math Captcha Image Version 6
About Author

wain

Date Registered: Sun, Feb 8, 15
Last Time Online: Thu, Jun 15, 17
So far has created 115 entries.
wain
This author has not yet filled in any details.