html and code
|html entities
| see demonstration of html entitiesthis snippet shows all characters as chr(), html-entity and URLencoded
full source of html entities [ line 1 - 19 ] | download html entities
| 1 | <?php |
| 2 | echo ' |
| 3 | <table style="width: 400px; font-family: Verdana, sans-serif; font-size: 10px; border: 1px solid #606060; border-collapse: collapse;"> |
| 4 | <tr style="background: #606060; color: #eeeeee"> |
| 5 | <td style="width: 100px;"></td> |
| 6 | <td style="width: 100px;">PHP</td> |
| 7 | <td style="width: 100px;">HTML</td> |
| 8 | <td style="width: 100px;">URLencode</td> |
| 9 | </tr>'; |
| 10 | for($x = 34; $x <= 255; $x++) echo ' |
| 11 | <tr style="background: #f'.(($x % 2)*2).'f'.(9-(($x % 2)*9)).'f'.(($x % 2)*9).';"> |
| 12 | <td>'.chr($x).'</td> |
| 13 | <td>chr('.$x.')</td> |
| 14 | <td>'.htmlspecialchars(htmlentities(chr($x))).'</td> |
| 15 | <td>'.urlencode(chr($x)).'</td> |
| 16 | </tr>'; |
| 17 | echo ' |
| 18 | </table>'; |
| 19 | ?> |
72 hits by 11 users in the last 30 minutes.