I normally develop php/mysql application using framework like Laravel and use Eloquent ORM. But now, I am working on a simple project in vanilla PHP and I have to use mysqli. I looked up the documentation and put together this monstrosity (that works). // Proceed if there is valid request data i...