Home >Backend Development >PHP Tutorial >There is information in the TYPECHO database, but it is not displayed in the front desk.

There is information in the TYPECHO database, but it is not displayed in the front desk.

WBOY
WBOYOriginal
2016-07-06 13:51:431267browse

There is information in the TYPECHO database, but it is not displayed on the front desk. Why is this? I insert data directly into the database, but the website does not display the content.

Reply content:

There is information in the TYPECHO database, but it is not displayed on the front desk. Why is this? I insert data directly into the database, but the website does not display the content.

  1. Check whether typecho is correctly connected to the database

  2. Print the results obtained from the database to see if there is a value

  3. Check whether the value retrieved from the database is correctly passed to the template

Statement:
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