PHP Function str_rot13 used to Encoding and decoding string and It's done by the same function, passing an encoded string as argument will return the original version. This function performs the ROT13 encoding on the str argument and returns the resulting string. The ROT13 encoding simply shifts every letter by 13 places in the alphabet while leaving non-alpha characters untouched.
Tags:
str_rot13 , str_rot13 in php, str_rot13 example, str_rot13 code, how to use str_rot13 , str_rot13 case , replace string in php , php,tutorials, php code, str_ireplace script, str_rot13 function
If search and replace are arrays, then str_replace() takes a value from each array and uses them to do search and replace on subject. If replace has fewer values than search, then an empty string is used for the rest of replacement values. If search is an array and replace is a string; then this replacement string is used for every value of search.
Tags:
str_replace, str_replace in php, str_replace example, str_replace code, how to use str_replace, str_replace case , replace string in php , php tutorials, php code, str_replace script, str_replace function
Returns input_str repeated multiplier times. multiplier has to be greater than or equal to 0. If the multiplier is set to 0, the function will return an empty string.
This functions returns the input string padded on the left, the right, or both sides to the specified padding length. If the optional argument pad_string is not supplied, the input is padded with spaces, otherwise it is padded with characters from pad_string up to the limit.
Tags:
str_pad , string padded, padding length, php tutorials, code,script, function
This function returns a string or an array with all occurrences of search in subject (ignoring case) replaced with the given replace value. If you don't need fancy replacing rules, you should generally use this function instead of eregi_replace() or preg_replace() with the i modifier.
Tags:
str_ireplace, str_ireplace in php, str_ireplace example, str_ireplace code, how to use str_ireplace, str_ireplace case , replace string in php , php,tutorials, php code, str_ireplace script, str_ireplace function
The WHILE loop is one of the most useful commands in PHP. It is also quite easy to set up and use. A WHILE loop will, as the name suggests, execute a piece of code until a certain condition is met. If you have a piece of code which you want to repeat several times without retyping it, you can use a while loop.
Tags:
while loop, while loop in php, php loop, php while, how to while loop, while loop code, while condition php, tutorials,loop, while command, php programming
while loop is one of the most useful commands in PHP. It is also quite easy to set up and use. A while loop will, as the name suggests, execute a piece of code until a certain condition is met.
Tags:
php, tutorials,loop,WHILE loop,command, suggest,condition, programming,code, important code
Topics