Answer the question
In order to leave comments, you need to log in
How to make a tab when outputting a line?
There is a line containing html tags and text between them, how to output with tabbed tags?
From
$str = "<li><a>Вход</a></li><li><a>Регистрация</a></li><li><a>Корзина</a></li>";
for ($i=0;$i<strlen($str)-1;$i++) {
echo $str[$i];
}
Answer the question
In order to leave comments, you need to log in
There is such a thing
Used on this site and many other
places Google more for the word parsing
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question