Sanitize User Input

PHOTO EMBED

Sun Apr 02 2023 17:29:20 GMT+0000 (Coordinated Universal Time)

Saved by @Joe_Devs #php

<?php

$username = $_POST['username'];
$password = $_POST['password'];

$username = mysqli_real_escape_string($connection,$username);
$password = mysqli_real_escape_string($connection,$password);
content_copyCOPY

the user can now type in any characters and it wont interfere with the database