>" is enough."> How to hide tags in php-PHP Problem-php.cn

How to hide tags in php

藏色散人
Release: 2023-03-08 16:12:02
Original
1692 people have browsed it

How to implement hidden tags in php: first open the corresponding PHP sample file; then make a mark flag in php and pass it over; finally add " >" is enough.

How to hide tags in php

The operating environment of this article: windows7 system, PHP7.1 version, DELL G3 computer

Specific questions:

About the problem of hiding the div tag in PHP

test
document.getElementById('tes').style.display='none'; "; } ?>
Copy after login

What's wrong? If this function needs to be modified, how should it be modified?

Solution:

1. Because the hiding of the div tag itself is controlled by css style, that is,

< /div> So the question will change to controlling the display in style

2. Answer the question in Part 1, make a mark flag in php and pass it over, and then in the html page

>
When the flag is set to true, it is hidden. When false, it will be displayed.

[Recommended learning: "PHP Video Tutorial"]

The above is the detailed content of How to hide tags in php. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!