问题描述
我是php编程的初学者,我正在设计一个基本网站,可以添加记录,删除记录并查看使用PHPmyAdmin创建的数据库中的所有记录。
我添加了一条记录后,我想回到我来自的页面,为此我被告知要使用 -
header(位置:查看。 php);
对于这行代码,出现以下错误 -
解析错误:语法错误,第114行C:\ xampp \\\\\\\\\\\\\\\\\\\\\\\\\\\\要解决它吗?
我尝试了什么:
试过搜索网站和youtube视频,希望他们可以告诉我这是什么问题,可以做些什么,但没有找到任何有用的东西。
I am beginner in php programming and am designing a basic website that can add a record, delete records and view all records in a database that was created using PHPmyAdmin.
After I have added a record I want to return to the page I came from, for this I was told to use -
header("Location: View.php");
For this line of code the following error appears -
Parse error: syntax error, unexpected 'header' (T_STRING) in C:\xampp\htdocs\New.php on line 114
Why is this happening and what can I do to fix it ?
What I have tried:
Tried searching websites and youtube videos hoping that they may tell me what the issue is and what can be done about it, but haven't found anything useful.
这篇关于如何修复解析错误:语法错误,第114行的C:\ xampp \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!