From 0e8e1b872ff776c354f681a6d24bbe033f483c50 Mon Sep 17 00:00:00 2001 From: nolanwhy <69528856+nolanwhy@users.noreply.github.com> Date: Sat, 4 Feb 2023 21:36:32 +0100 Subject: [PATCH] Create user.php --- user.php | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 user.php diff --git a/user.php b/user.php new file mode 100644 index 0000000..609dd91 --- /dev/null +++ b/user.php @@ -0,0 +1,43 @@ + + + + +prepare("SELECT * FROM users WHERE id = :id"); +$q->bindParam(':id',$id,PDO::PARAM_INT); +$q->execute(); +$requestUser = $q->fetch(); +if(!$requestUser) { + die("go fuck yourself (no id"); // todo: redirect to 404 +} + +$getitstarted = new PartyStarter; +$getitstarted->header(); +?> + +<?php echo $sitename; ?> | <?php echo htmlspecialchars($requestUser["username"]); ?> + +

yeah im not hired to fucking make css/html -nolanwhy

+

welcome to 's profile!!!!!

+

his acc was created at +

thats all

+ +