getting error while pushing folder from local to g

2019-09-21 21:27发布

          error: src refspec git@gitlab.com does not match any.
          error: failed to push some refs to 'origin'

i'm trying to push my project to gitlab but im getting again and again the same error i have tried n number of times and i have seen many answer but none worked me please can any one help me in getting out of this ?

thanks in advance

1条回答
在下西门庆
2楼-- · 2019-09-21 21:49

You are using the names of the inputs instead of the column names from your database.

$fname = $row['fname'];
$lname = $row['lname'];
$email = $row['email'];
$contactnumber = $row['number'];
$age = $row['age'];

should be:

$fname = $row['FirstName'];
$lname = $row['LastName'];
$email = $row['Email'];
$contactnumber = $row['Contactnumber'];
$age = $row['Age'];

You also shouldn't use PHP opening shortcodes

<?= $fname ?>

should be:

<?php echo $fname ?>
查看更多
登录 后发表回答