W
W
William2021-07-08 02:11:07
PHP
William, 2021-07-08 02:11:07

How to use a php regular expression to write to a variable the text that is enclosed in the h2 tag?

<?php $text; //в данной переменной текст, заключен в тег h2 и прочий текст ?>

you need to display only the title inside the tag

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question