mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-07-19 16:16:02 +00:00
Finished profile page
This commit is contained in:
parent
1b8e92d144
commit
36f76ac2fd
7 changed files with 215 additions and 30 deletions
|
@ -61,7 +61,7 @@ class Account {
|
|||
Returns array with user info
|
||||
*/
|
||||
function get_user_info($conn, $id) {
|
||||
$sql = "SELECT id, username, created_at FROM users WHERE id = ?";
|
||||
$sql = "SELECT id, username, created_at, pfp_path FROM users WHERE id = ?";
|
||||
|
||||
if ($stmt = mysqli_prepare($conn, $sql)) {
|
||||
// Bind variables to the prepared statement as parameters
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue