note 47676 deleted from function.highlight-string by tomsommer

From: Date: Wed, 24 Nov 2004 21:49:32 +0000
Subject: note 47676 deleted from function.highlight-string by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-80990@lists.php.net to get a copy of this message
Note Submitter: spwhitton at users dot sourceforge dot net ---- This simple script demonstrates the use of this function. Please feel free to ignore the copyright. <html> <head> <!-- © 2004 Sean Whitton --> <title>PHP Source Code Syntax Highlighter</title> </head> <body bgcolor="#FFFFFF"> <?PHP # © 2004 Sean Whitton if (isset($_POST['code'])) highlight_string($_POST['code']); else echo ' <form name="form1" method="POST" action="index.php"> <div align="center"> <textarea name="code" rows="20" cols="90"> </textarea> <br /> <input type="submit" value="Highlight Syntax"> </div> </form> '; ?> </body> </html> Sean Whitton

« previous php.notes (#80990) next »