<?php
session_start();

include 'includes/database.php';
include 'includes/functions.php';
$conn= new Functions();

?>

<div class="form-input-group">
                                            <label>Username </label>
                                            <input type="text" name="username" id="username" class="form-control adm" placeholder="Click button to generate username e.g <?php echo $conn->generate_username(); ?>" value="<?php echo $conn->generate_username(); ?>" required>
                                        </div>
                                        <div class="input-group-append ">
                                            <a href="javascript:;" onclick="usergen()" class="input-group-text primary"><i class="pg-icon">refresh_alt</i></a>
                                        </div>
                              
                                        
<?php
?>