'<a class="h1-wrapper" href="/"><h1 class="name">');
                  
                  
                  
                  
                  
                   $content = substr($content, $pos);
                  
                  
                  
                  
                  
                   $pos = strpos($content, '
                  
                  
                            </h1></a>');
                  
                  
                  
                  
                  
                   $content = substr($content, 0, $pos);
                  
                  
                  
                  
                  
                   $content = str_replace('','', $content);
                  
                  
                  
                  
                  
                   echo $content;
                  
                  
                  
                  
                  
                   ?>
                  
                  
                  Подскажите почему не парсит блок?
                  
                  
                
логично же что Ваши подстроки не найдены .. парсить через strpos такое себе занятие
Обсуждают сегодня