Home > Backend Development > PHP Tutorial > php新手各位大神!

php新手各位大神!

WBOY
Release: 2016-06-13 12:39:18
Original
922 people have browsed it

php新手求助各位大神!!!!!!!!
这个是我的数据库连接类,要用换红线部分的方法

这是我的index.php页面,调用了这个类文件,和top部分

现在问题出在 top.php上面,我用一个函数来生成菜单,但是调用不到query_to_array()这个查询方法了
自己查资料,用new也不行

下面是报错的内容

Warning: Missing argument 1 for MysqlTool::__construct(), called in E:\Project\2013-8\DaHuangFeng\top.php on line 10 and defined in E:\Project\2013-8\DaHuangFeng\inc\connclass.php on line 7

各位大神帮帮忙啊!!!!!!!

PHP
Related labels:
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