doutuo1908 2014-05-03 00:48
浏览 41
已采纳

未定义的功能?

I'm getting an error telling me that I have called an undefined function, but I know the function is defined in the include. Am I using the wrong syntax?

  • 写回答

1条回答 默认 最新

  • dongzhaoshi8497 2014-05-03 01:00
    关注

    You didn't call the BeerEditor class as i can understand from your code so you can fix it by something like this

    $beer_editor = new BeerEditor($dbconn);
    $beer_editor->addBeer($new_beer);
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?