Fatal error: Call to a member function ...on string
This question already has an answer here:
You're doing :
$idea = mysql_real_escape_string($_POST['idea']);
So $idea is a string now. Then you do :
$check = $idea->checkIdea($title);
There is no checkIdea method on strings.
链接地址: http://www.djcxy.com/p/69400.html上一篇: 警告:不能修改标题信息
下一篇: 致命错误:调用成员函数...在字符串上