PHP Basic Tutorial
MySQL Connection
PHP has a set of built-in functions that you can use to modify strings.
strtolower()
and strtoupper()
: Converts a string to lowercase or uppercase.Try it yourself
str_replace()
: Replaces all occurrences of a search string with a replacement string.Try it yourself
strrev():
This function takes a string as input and returns it reversed.Try it yourself
trim()
: This function is used to remove whitespace and other predefined characters from the beginning and end of a string.Try it yourself
explode()
: This function is used to split a string into an array based on a specified delimiter.Try it yourself