Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/svn/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
语法错误,意外';试试';在PHP中_Php - Fatal编程技术网

语法错误,意外';试试';在PHP中

语法错误,意外';试试';在PHP中,php,Php,我的注册页面出现错误我收到以下错误: Parse error: syntax error, unexpected 'try' (T_TRY) in /home/catchpokem/domains/catchpokemons.lt/public_html/sargcs/admin/register.php on line 18 我的代码是:http://pastebin.com/kamBT8J3 真的想修复这个错误,但我不知道如何修复 include_once '../configs/conf

我的注册页面出现错误我收到以下错误:

Parse error: syntax error, unexpected 'try' (T_TRY) in /home/catchpokem/domains/catchpokemons.lt/public_html/sargcs/admin/register.php on line 18
我的代码是:
http://pastebin.com/kamBT8J3
真的想修复这个错误,但我不知道如何修复

include_once '../configs/config.php';

你没有把
在上面一行之后,我想给出错误

粘贴代码here@Rishi欢迎来到堆栈溢出!请参阅和。感谢它的工作:)但为什么我将数据输入input never data saves to mysql?它显示了什么错误?它显示没有错误,但当我查看mysql数据库时,它显示0个数据。您没有在代码中获取结果…您似乎没有在服务器上插入任何数据。请检查