Answer the question
In order to leave comments, you need to log in
Why does the div disappear after the form?
Hello.
I'm shocked :D My block disappears after the form O_o
It goes like this:
<form>
inputs..
</form>
<div>
Этот DIV не выводится. Но если корректировать HTML файл в браузере и специально добавить его(div), то он добавится и будет выведен корректно.
</div>
Answer the question
In order to leave comments, you need to log in
The solution was in PHP..
Due to require. When you enable a modal window, php pulls text from a third-party file on the server. But after moving from the local computer to the hosting, the file changed its location. Previously, I had: require('/text/text.html');
And now:
The whole problem was in the slash! Oh my God! This is terrible)
Thanks to everyone who helped)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question