HomeSunday, June 24, 2018, 01:38:27
3

PHP highlight_string - PHP Tutorial

Tuesday, February 10, 15, 12:09:01, 3 Yaers Ago Via wain, Hits: 6115
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 form with file upload

Advanced Contact Form with email and form field validation. It allows your visitors to send you an email directly from your website.

PHP Tutorials

Useful step-by-step PHP tutorials for beginners

Jquery PHP Contact Form

This script allows your visitors to send you an email directly from your website.

Bookmark Current Page - PHP Tutorial

Bookmark current page with PHP example.

Random MySQL Query

Random MySQL query, requirement(s): PHP Server, MySQL

Adodb Recordcount Example

RecordCount returns the number of rows in the record set.

Site Recommendation

This script will allow your visitors to recommend your site to their friends.

Creating a basic bad word filter in PHP

This tutorial will show you how to create a basic bad word filter in PHP

Upload Attachment - PHP Tutorial

Upload attachment with PHP example, Requirement(s): PHP server

ShoutBox 1.1. PHP Script

ShoutBox allows your users to post short messages on your site. The script is lightweight and very easy to install and use.
About Author

wain

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