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?
未定义的功能?
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
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);本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报