I made a short code which shows me exactly how many users are registered in my website.
$user_query = "SELECT id FROM users ORDER BY id";
$user_counter = ($user_query);
$user_counter_run = mysqli_query($conn, $user_counter);
$user_counting = mysqli_num_rows($user_counter_run);
I dont have much experience about SQL Injections... Im just wondering, can i get a SQL Injection by this code?