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
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 ?>