Categories
How to extract the first two words from a string in a variable in php?
<?=$NAMEFULL?> shows, for example, Ivanov Ivan Ivanovich How to display only the first and last names in $NAMEnoFULL?
<?=$NAMEFULL?>
Answer the question
In order to leave comments, you need to log in
php.net/manual/ru/function.explode.php by space
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question