How to get a part of a character string with PHP substr function [For beginners]
I will explain how to get a part of a character string using the substr function.
We have introduced many samples, so please try to write them yourself and understand them.
If you don't know what PHP is in the first place, see the article What is PHP first.
This article is based on the contents of Tech Academy's PHP online course.
You can also watch the video of the content of this article.
If you find that videos are easier to understand than text, please take a look.