note 66223 deleted from function.ord by nlopess
| From: | nlopess@php.net | Date: | Wed, 17 May 2006 09:41:28 +0000 |
| Subject: | note 66223 deleted from function.ord by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-111485@lists.php.net to get a copy of this message | ||
Note Submitter: erdem at a1tradenetwork dot com
----
i was make ord characters table for me...
and below that codes... maybe will be a person search this..
<?php
$str = "0123456789".
"ABCDEFGHIİJKLMNOÃPQRSÅTUÃVWXYZ".
"abcdefghiİjklmnoöpqrsÅtuüvwxyz".
"!'^+%&/()=?_-*\|}][{½$#£>@".
"â¬\"é.:;,<`~«ª©¨§»¼½¾¿±°¯¹";
$color = "#f1f1f1";
echo "<center>";
echo "<h1>ORD CHARACTER TABLE</h1>";
for ($i=0; $i<$st=strlen($str);$i++){
echo "<label style=\"background-color:$color;width:20px;\"><b>
";
echo $str[$i] ."</b></label>
<label style=\"background-color:$color;
width:50px;text-align:left;\"><b>=</b> ".
ord($str[$i])."</label> ";
if (($i % 10) == 9) {
echo "<br>";
}
if (($i % 2) == 1) {
$color = "#f1f1f1";
}else {
$color = "#ffffcc";
}
}
echo "</center>";
?>