learn php

PHP ord() Function

what is the syntax of the ORD() function in php? Parameter Description string Required. The string to get an ASCII value from PHP ORD() method examples of the ORD() function Examples 1. In this example, we return the ASCII value of “h”.

PHP nl2br() Function

what is the syntax of the function in php? Parameter Description string Required. Specifies the string to check xhtml  Optional. A boolean value that indicates whether or not to use XHTML compatible line breaks:TRUE- Default. Inserts <br />FALSE – Inserts <br> PHP nl2br() method examples of the NL2BR() function Example 1. In this example, we …

PHP nl2br() Function Read More »

PHP metaphone() Function

what is the syntax of the METAPHONE() function in php? Parameter Description string Required. Specifies the string to check length Optional. Specifies the maximum length of the metaphone key PHP metaphone() method examples of the METAPHONE() function Example 1. In this example, we calculate the metaphone key of “World”.

PHP md5() Function

What is the syntax of the MD5() function in php? Parameter Description string Required. The string to be calculated raw Optional. Specifies hex or binary output format:TRUE – Raw 16 character binary formatFALSE – Default. 32 character hex number PHP md5() method examples of the MD5() function Example 1. In this example, we calculate the …

PHP md5() Function Read More »

PHP ltrim() Function

What is the syntax of the LTRIM() function in php? Parameter Description string Required. Specifies the string to check charlist Optional. Specifies which characters to remove from the string. If omitted, all of the following characters are removed:”\0″ – NULL”\t” – tab”\n” – new line”\x0B” – vertical tab”\r” – carriage return” ” – ordinary white …

PHP ltrim() Function Read More »

en English
X
Scroll to Top