Facebook
From Ezeomeke Stephen Ozioma , 10 Months ago, written in PHP.
This paste is a reply to undefined array key from Ezeomeke Stephen Ozioma - view diff
Embed
Download Paste or View Raw
Hits: 161
  1. Warning: Undefined array key "verified" in C:\xampp\htdocs\oramexhomes\signup.php on line 64 (line 74 in this document)
  2. You need to verify your account. sign in to your registered email account and click on the verification link we just emailed You at
  3. Warning: Undefined array key "email" in C:\xampp\htdocs\oramexhomes\signup.php on line 68Warning: Undefined array key "verified" in C:\xampp\htdocs\oramexhomes\signup.php on line 64
  4. You need to verify your account. sign in to your registered email account and click on the verification link we just emailed You at
  5. Warning: Undefined array key "email" in C:\xampp\htdocs\oramexhomes\signup.php on line 68
  6.  
  7.  
  8.  
  9.  
  10.  
  11. <?php require_once 'controllers/authController.php'; ?>
  12. <!DOCTYPE html>
  13. <html lang="en">
  14. <head>
  15.         <title>Oramex Homes</title>
  16.         <meta charset ="UTF-8">
  17.  
  18.         <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css">
  19.  
  20.         <meta name="keywords" content="rent, flats, rooms,apartments,house">
  21.         <meta name="author" content="Ezeomeke Ozioma">
  22.         <meta name="description" content="rent a home at your finger tip">
  23.         <meta name="viewport" content="width=device-width,initial-scale=1.0">
  24.         <link rel="icon" type="image/x-icon" href="favicon.ico">
  25.         <link rel="stylesheet" href="style.css">
  26. </head>
  27. <body>
  28. <section class="register">
  29. <div class="agentlandlords">
  30.         <h3>Registration</h3>
  31.  
  32.  
  33.         <?php if(count($errors) > 0): ?>
  34.         <div class="alert alert-danger">
  35.                 <?php foreach($errors as $error): ?>
  36.                 <li><?php echo $error; ?></li>
  37.                 <?php endforeach; ?>
  38.         </div>
  39.                 <?php endif; ?>
  40.  
  41.  
  42.  
  43.  
  44.  
  45.         <form action="signup.php" method="post" class="formsignup" >
  46.  
  47.                 <label for="sname">Surname</label>
  48.                 <input type="text" id="sname" name="sname"><br><br>
  49.                 <label for="oname">Othername</label>
  50.                 <input type="text" id="oname" name="oname"><br><br>
  51.                 <label for="email">Email</label>
  52.                 <input type="email" id="email" name="email" value="<?php echo $email; ?>
  53.  
  54.                 <label for="password">Choose a Password:</label>
  55.                 <input type="password" id="password" name="password"><br><br>
  56.                 <label for="passwordConf">Confirm Password:</label>
  57.                 <input type="password" id="passwordConf" name="passwordConf"><br><br>
  58.  
  59.                 <label for="username">Choose a Username:</label>
  60.                 <input type="text" id="username" name="username" value="<?php echo $username; ?>
  61.  
  62.                 <label for="phonenumber">Phone Number</label>
  63.                 <input type="tel" id="phonenumber" name="phonenumber" placeholder="080-000-00000" pattern="[0-9{3}-[0-9]{3}-[0-9]{5}" required maxlength="11"> <br><br>
  64.                 <label for="referalcode">Referal ID</label>
  65.                 <input type="text" id="referalcode" name="referalcode">         <br><br>
  66.  
  67.  
  68.                         <button type="submit" name="signup-btn" value="Submit">Sign Up </button>
  69.                         <input type="reset">
  70.                                         <p> Already a member? <a href="login.php">Sign in </a></p>
  71.  
  72.         </form>
  73. </div>
  74. <?php if (!$_SESSION["verified"]); ?>
  75. <div class="alert alert-warning">
  76.         You need to verify your account.
  77.         sign in to your registered email account and click on the verification link we just emailed You
  78.         at <strong><?php echo $_SESSION["email"]; ?></strong>
  79.                 </div>
  80.                  <endif; ?>
  81. </section>
  82. </body>
  83. </html>
  84.  

Replies to Re: undefined array key rss

Title Name Language When
Re: Re: undefined array key email to be post Ezeomeke Stephen Ozioma php 10 Months ago.