Home >Backend Development >PHP Tutorial >Solution to Fatal error in PHP pagination

Solution to Fatal error in PHP pagination

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-07-25 09:04:071164browse
  1. //Connect to the database
  2. include("conn.php");
  3. //Introduce paging class files
  4. include("page.class.php");
  5. ?>
Copy code

The possible reason is: two page program files are referenced and cause conflicts when they are loaded repeatedly in the memory. Solution: Just change to include_once() decisively.



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