Search
 
SCRIPT & CODE EXAMPLE
 

PHP

signup form in php

<section class="vh-100" style="background-color:#5F9EA0 ;">
    <div class="container h-100">
        <div class="row d-flex justify-content-center align-items-center h-100">
            <div class="col-lg-12 col-xl-11" >
                <div class="card text-black" style="border-radius: 35px;">
                    <div class="card-body p-md-5" style="background-color:#FFEBCD;">
                        <div class="row justify-content-center">
                            <?php
                                              if(isset($errors['signup'])){
                                                  echo $errors['signup'];
                                              }
                                            ?>
                            <div class="col-md-10 col-lg-6 col-xl-5 order-2 order-lg-1">
                                <p class="text-center h1 fw-bold mb-5 mx-1 mx-md-4 mt-4">Sign up</p>
                                <form class="mx-1 mx-md-4" method='POST'>

                                    <div class="d-flex flex-row align-items-center mb-4">
                                        <i class="fas fa-user fa-lg me-3 fa-fw"></i>
                                        <div class="form-outline flex-fill mb-0">
                                            <input value='admin' type="text" name="name" id="form3Example1c"
                                                class="form-control" />
                                            <label class="form-label" for="form3Example1c">Full name</label><br>
                                            <?php
                                              if(isset($errors['name'])){
                                                  echo '<span class="text-danger">'.$errors['name'].'</span>';
                                              }
                                            ?>
                                        </div>
                                    </div>

                                    <div class="d-flex flex-row align-items-center mb-4">
                                        <i class="fas fa-envelope fa-lg me-3 fa-fw"></i>
                                        <div class="form-outline flex-fill mb-0">
                                            <input value='test@gmail.com' type="email" name="email" id="form3Example3c"
                                                class="form-control" />
                                            <label class="form-label" for="form3Example3c">Email</label> <br>
                                            <?php
                        if(isset($errors['email'])){
                            echo '<span class="text-danger">'.$errors['email'].'</span>';
                        }
                      ?>

                                        </div>
                                    </div>

                                    <div class="d-flex flex-row align-items-center mb-4">
                                        <i class="fas fa-lock fa-lg me-3 fa-fw"></i>
                                        <div class="form-outline flex-fill mb-0">
                                            <input value='12345678' type="password" name="password" id="form3Example4c"
                                                class="form-control" />
                                            <label class="form-label" for="form3Example4c">Password</label> <br>
                                            <?php
                      if(isset($errors['password'])){
                          echo '<span class="text-danger">'.$errors['password'].'</span>';
                      }
                    ?>
                                        </div>
                                    </div>


                                    <div class="d-flex justify-content-center mx-4 mb-3 mb-lg-4">
                                        <button type="submit" name='submit' class="btn btn-lg"
                                            style='background-color: #000000 !important; color: white !important'>Register</button>
                                    </div>

                                    <a class="link-secondary" href="login.php"  >Login</a>


                                </form>

                            </div>
                            <div class="col-md-10 col-lg-6 col-xl-7 d-flex align-items-center order-1 order-lg-2">
                                <img src="https://codemyui.com/wp-content/uploads/2020/01/Progressive-Disclosure-Signup-Form.gif" class="img-fluid" alt="Sample image">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
Comment

PREVIOUS NEXT
Code Example
Php :: laravel logout all users 
Php :: php trim 
Php :: utc time php 
Php :: how to free session variable in php codeigniter 
Php :: php check if user exists in database 
Php :: FPDF invoice Tutorial 
Php :: woocommerce get shipping classes 
Php :: php get last index of array 
Php :: api symfony 4 @ApiResource 
Php :: php validate credit card expiration date 
Php :: php apns notification source code 
Php :: php flip array 
Php :: wocommerce product image 
Php :: Main features of php 
Php :: how get the size of image in laravel 
Php :: laravel set production 
Php :: Laravel - Send mail using mail class 
Php :: php globals 
Php :: laravel migration column types 
Php :: laravel eloquent get one column value 
Php :: woocommerce view order details frontend with shortcode 
Php :: Using the PHPExcel library to read an Excel file and transfer the data into a database 
Php :: php convert string to array 
Php :: resize image using intervention laravel and save 
Php :: laravel store blob image into database 
Php :: php refresh page without reloading 
Php :: how to set logo in wordpress 
Php :: how to add javascript to a php variable 
Php :: laravel migration bigint length 
Php :: permutation and combination program in php 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =