Because a file is loaded more than twice, the function definition is repeated. You can use xxx_once to load files multiple times.
Because a file is loaded more than twice, the function definition is repeated. You can use xxx_once to load files multiple times.
Fatal error: Cannot redeclare htmtocode () (previusly declared in D: \ www_local \ mytest \ conn. php: 7) in D: \ www_local \ mytest \ conn. php on line 10
This error message appears when the paging file page. php is written.
Google translation means "Fatal error: cannot re-declare htmtocode ()"
The Code in line 2 is
// Connect to the database
Include ("conn. php ");
// Introduce paging files
Include ("page. class. php ");
?>
I searched the internet for a possible cause: Two page program files are referenced, leading to conflicts when the memory is repeatedly loaded.
Solution: replace include with include_once ()