Beispiel #1
0
            <div class="mainbox">
                <div class="row">
                    <div class="col-lg-4 profilemainphoto">
                        <img style="" class="img-thumbnail" src="<?php 
echo getProfilePhoto($Id);
?>
" >
                    </div>
                    <div class="col-lg-8">
                        <h2>
                            <?php 
echo getUserName($Id);
?>
</h2>
                        <?php 
$result = getAllDataofProfile($Id);
$row = mysqli_fetch_assoc($result);
?>
                            <table class="table">
                                <tr>
                                    <th>Email</th>
                                    <td><?php 
echo $row['Email'];
?>
</td>
                                </tr>
                                <tr>
                                    <th>Birthday</th>
                                    <td><?php 
echo $row['DOB'];
?>
Beispiel #2
0
                        <div class="well changephotodiv">
                            <form method="post" enctype="multipart/form-data">
                                <input type="file" name="fileToUpload" id="fileToUpload"><br>
                                <input type="submit" value="Upload Image" name="photoSubmit">
                            </form>

                        </div>
                    </div>
                    <div class="col-lg-8">
                        <h2>
                            <?php 
echo getUserName($_SESSION['ID']);
?>
</h2>
                        <?php 
$result = getAllDataofProfile($_SESSION['ID']);
$row = mysqli_fetch_assoc($result);
?>
                        <table class="table">
                            <tr>
                                <th>Email</th>
                                <td><?php 
echo $row['Email'];
?>
</td>
                            </tr>
                            <tr>
                                <th>Birthday</th>
                                <td><?php 
echo $row['DOB'];
?>