Finding a Substring in PHP
How to Find a Substring from a Given String? To find a substring in a given string, you can use the strpos() function. If you call strpos($haystack, $needle), it will try to find the position of the first occurrence of the $needle string in the $haystack string. If found, it will return a non-negati... 2016-10-13, 224👍, 0💬
Converting Leading Characters to Upper Case in PHP
How To Convert Leading Characters to Upper Case? If you are processing an article, you may want to capitalize the first character of a sentence by using the ucfirst() function. You may also want to capitalize the first character of every words for the article title by using the ucwords() function. H... 2016-10-13, 219👍, 0💬
Converting Character to ASCII Value in PHP
How To Convert a Character to an ASCII Value? If you want to convert characters to ASCII values, you can use the ord() function, which takes the first charcter of the specified string, and returns its ASCII value in decimal format. ord() complements chr(). Here is a PHP script on how to use ord(): &... 2016-10-13, 218👍, 0💬
Reformatting a Paragraph of Text in PHP
How To Reformat a Paragraph of Text? You can wordwrap() reformat a paragraph of text by wrapping lines with a fixed length. Here is a PHP script on how to use wordwrap(): <?php $string = "TRADING ON MARGIN POSES ADDITIONAL RISKS AND IS NOT SUITABLE FOR ALL INVESTORS. A COMPLETE LIST OF THE RISKS ... 2016-10-13, 216👍, 0💬
Generating Character from ASCII Value in PHP
How To Generate a Character from an ASCII Value? If you want to generate characters from ASCII values, you can use the chr() function. chr() takes the ASCII value in decimal format and returns the character represented by the ASCII value. chr() complements ord(). Here is a PHP script on how to use c... 2016-10-13, 213👍, 0💬
Where to find tutorials on PHP language? I want to know how to learn PHP. Here is a large collection of tutorials to answer many frequently asked questions compiled by FYIcenter.com team about PHP language: Downloading and Installing PHP Installing PHP for Windows Verifying PHP Installation PHP Conf... 2016-10-13, 1306👍, 0💬
What is this Website about? dev.FYIcenter.com is a Website for software developer looking for software development technologies, programming tutorials, career information, and so on. Just browse through the site, you will find the best information our team has prepared for you. 2016-10-11, 1184👍, 0💬
How To Generate and Process a Form with the Same Script in PHP? In previous exercises, a Web form is...
What is this Website about? dev.FYIcenter.com is a Website for software developer looking for softwa...
How To Insert Rows Based on SELECT Statements in PHP? If want to insert rows into a table based on d...
Where to find tutorials on PHP language? I want to know how to learn PHP. Here is a large collection...
What Is an HTML "em" Tag/Element? An "em" element is an inline element that you can use to specify t...