1.

Return Ascii Value Of Character In Php?

Answer»

USING ord() METHOD we can get ASCII value of character in php.

<?php $str = "n" style="color: #007700;"&GT;; if (ord style="color: #0000bb;">$str) == 10) { echo "The FIRST character of $str is a line feed.n"; } ?>

using ord() method we can get ASCII value of character in php.



Discussion

No Comment Found