Newer
Older
<?php
function get_fullname(){
if(is_loggedin()){
$username = $_COOKIE['username'];
$query = "SELECT * FROM lahtp_3_web.auth WHERE username='$username'";
$connection = get_db_connection();
$result = mysqli_query($connection, $query);
if(mysqli_num_rows($result) == 1){