php me up

This commit is contained in:
Roscoe 2025-06-06 01:47:15 +01:00
commit 9410b5b14b
Signed by: RoscoeDaWah
SSH key fingerprint: SHA256:Hqn452XQ1ETzUt/FthJu6+OFkS4NBxCv5VQSEvuk7CE
3 changed files with 63 additions and 57 deletions

View file

@ -1,3 +1,9 @@
<?php
date_default_timezone_set('Europe/London');
$birthday = new DateTime("2005-06-07");
$currentDate = DateTime::createFromFormat("Y-m-d", date("Y-m-d"));
$age = $birthday->diff($currentDate);
?>
<!DOCTYPE html>
<html lang="en">
@ -25,11 +31,11 @@
<span id="quote">gimme appuls</span>
</p>
</div>
<div><img src="./res/images/profile-v4.png" class="profile-image"></div>
<div><img src="./res/images/profile-v5.png" class="profile-image"></div>
<div>
<ul>
<li>19 y/o, British</li>
<li>Self-proclaimed wah enthusiast</li>
<li><?= $age->y ?> y/o, British</li>
<li>Computer collecting wah</li>
<li>Theatre technician</li>
<li>Self-taught programmer</li>
<li>Somewhat a weather nerd</li>

BIN
res/images/profile-v5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB