Warning: Undefined variable $name in D:xampphtdocsRegistrationLoginAccount.php on line 20 [duplicate]

  html, localhost, mysql, php

Warning: Undefined variable $name in D:xampphtdocsRegistrationLoginAccount.php on line 20
Warning: Undefined variable $lname in D:xampphtdocsRegistrationLoginAccount.php on line 20

<div class="card-info"> <span class="card-title"><?php echo $fname." ".$lname; ?></span> </div>

Warning: Undefined variable $fname in D:xampphtdocsRegistrationLoginAccount.php on line 39

    <tr>
     <td>First Name</td>
     <td><?php echo $fname; ?></td>
    </tr>

Warning: Undefined variable $lname in D:xampphtdocsRegistrationLoginAccount.php on line 43

    <tr>
     <td>Last Name</td>
     <td><?php echo $lname; ?></td>
</tr>

Warning: Undefined variable $gender in D:xampphtdocsRegistrationLoginAccount.php on line 47

    <tr>
    <td>Gender</td>
    <td><?php echo $gender; ?></td>

</tr>

Source: Ask PHP

LEAVE A COMMENT