Free PHP Tutorials

home
Stay at Home and Learn

ord( )

 
Computer Tutorials List

 

 

 

 

 


Find out what the ASCII value of a character is with this string function. To see what ASCII value the @ symbol returns, you can use it like this:

$ascii_num = ord("@");

print $ascii_num;