note 57396 added to function.htmlentities

From: Date: Mon, 03 Oct 2005 07:56:25 +0000
Subject: note 57396 added to function.htmlentities
Groups: php.notes 
Request: Send a blank email to php-notes+get-96225@lists.php.net to get a copy of this message
This will print out a nice table of all the supported HTML entities of your PHP install. <?php echo('<HTML><HEAD><TITLE>HTML Entities Table</TITLE></HEAD><BODY bgcolor="#ffffff">'); echo('<H1>HTML<i>Entities</i></H1><p>'); echo('<table border=0 width=100% bgcolor="#EFEFFF"><tr><td align=left valign=middle><font face="courier" size=-1>'); $cnt=0; for($i=1;$i<=255;$i++) { $c=htmlentities(chr($i)); if($c!='' && !empty($c) && $c!=chr($i)) { echo($c."\t=\t".htmlentities($c)."<br>\n"); $cnt++; if($cnt>=20) { echo('</font></td><td align=left valign=middle><font face="courier" size=-1>'); $cnt=0; } } } echo('</font></td></tr></table>'); echo('</BODY></HTML>'); ?> ---- Manual Page -- http://www.php.net/manual/en/function.htmlentities.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+57396 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57396&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57396&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57396&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57396&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57396&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57396&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57396&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+57396&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#96225) next »