我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

致命错误:未捕获错误:调用未定义函数getPro()[重复]

This question already has an answer here:

  • Reference - What does this error mean in PHP? 34 answers

I have been debugging this issue. However, I cannot figure out the solution.

Here's the error:

Error - Index.php

My code:

Index.php

Then my functions:

functions.php

I hope you can help with my problem, the code was given by my proctor. But it does not work.

</div>

You need to include your functions.php file into the index.php file.

Add the following at the start of your file.

<?php include('functions.php'); ?>

see the documentation: http://php.net/manual/en/function.include.php

近期文章

  • too long
  • 如何通过选择一个JSON键作为列将JSON转换为html表
  • 当我调用索引0但是当我打印整个数组PHP时,数组为空
  • 如何在PHP中传输15到1,2,4,8
  • HTML和PHP中的注释表单不显示
  • 在URL之间获取并添加wordpress用户名
  • 限制分页中显示的页数
  • 回声不显示。 PHP
  • 是否可以使用php创建插入方法
  • 如何使用PHP代码在phpmyadmin中创建数据库来创建用户名和密码[关闭]
  • 注意错误:未定义的索引:
  • 如何在python http服务器中编译和发送结果php代码?
  • 特定日期格式的示例
  • 用PHP执行rubc cmd错误
  • 使用Like运算符使用php在url中显示输入的文本
  • 删除后如果php扩展
  • 如何在Symfony中处理AES密钥
  • 如何清除PHP中的cookie
  • 通过laravel角色过滤用户的小系统
  • 在sql中使用COUNT时。 我得到错误未定义的索引

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华