PHP Parse error: syntax error, unexpected T

I looked at many other questions, but I can't find my own answer in it. here is my syntax error (unexpeted T_IF):

   if (isset($_POST['Submit']))
{
$Nom=$_POST['Nom'];
$debPeriode=$_POST['debPeriode'];
$deb=$_POST['deb'];
$finPeriode=$_POST['finPeriode'];
$fin=$_POST['fin'];
$Detail=$_POST['Detail'];
$Periode=$deb_Periode.$deb."-".$fin_Periode.$fin
 //création de la requête SQL:
if (empty($Nom)||empty($Periode)||empty($Detail))

So please help me


$Periode=$deb_Periode.$deb."-".$fin_Periode.$fin;
                                                ^
链接地址: http://www.djcxy.com/p/69830.html

上一篇: 帮助意外的T

下一篇: PHP解析错误:语法错误,意外的T