The title says all code related shit. For my coding structure, there is a snippet below: (I am not leaking any of my code only a structure will be posted).
I also have a few screenshots of my project, I think my project is not perfect, and I want to make it the best possible, it's basically my basic portfolio with a blogging system. Plus, would switching to OOP PHP help to process all tasks quicker? Plus here's the screens:
Login Page:
Splash Page:
Code:
<?php
$mysqli = new mysqli("host", "username", "password", "db");
if(isset($_POST['something'])) {
$stmt = $mysqli->prepare("SELECT something FROM somewhere WHERE something=?");
$stmt->bind_param('s', $something);
$stmt->execute();
// do some shit
}
?>
I also have a few screenshots of my project, I think my project is not perfect, and I want to make it the best possible, it's basically my basic portfolio with a blogging system. Plus, would switching to OOP PHP help to process all tasks quicker? Plus here's the screens:
Login Page:
Splash Page:
Last edited: