Solution to Fatal error that occurs when writing PHP pagination_PHP tutorial

WBOY
Release: 2016-07-21 15:30:41
Original
903 people have browsed it

Fatal error: Cannot redeclare htmtocode() (previously declared in D:www_localmytestconn.php:7) in D:www_localmytestconn.php on line 10

This error message appears when writing the paging file page.php

Google translated this sentence as "Fatal error: cannot redeclare htmltocode()"

The code on line 10 is



//Connect to the database

include("conn.php");
//Introduce paging class files

include("page.class.php" ; >Solution: Use include_once() instead of include



http://www.bkjia.com/PHPjc/323135.html

www.bkjia.com

true

TechArticleFatal error: Cannot redeclare htmtocode() (previously declared in D:www_localmytestconn.php:7) in D:www_localmytestconn .php on line 10 This error message appears when writing a paging file...
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template