Skip to content
Advertisement

How to check if ID in database exists

Why won’t this send the user to user.php if the ID don’t exist in the table?

JavaScript

Advertisement

Answer

JavaScript

Try something like this :). http://php.net/manual/en/function.mysql-num-rows.php

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement