PHP Program To Find ASCII Value Of Character
Write PHP Program to find ASCII value of given character
<!--Write PHP Program to find ASCII value of given character--> <html> <body> <?php $n = 'N'; // ord build in PHP function to find ASCII echo "The Ascii Value of ".$n. " : ". ord($n); $s = "n"; echo "<br>The Ascii Value of ".$s. " : " .ord($s); ?> </body> </html>
Output:
The Ascii Value of N : 78
The Ascii Value of n : 110