Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?PHP
- $conn=mysqli_connect("localhost", "júzer", "jelszó", "adatbázis");
- if(ctype_digit($_POST['id']))
- {
- $query=mysqli_query($conn, "SELECT active FROM items WHERE id=".$_POST['id']." LIMIT 0 1");
- if(mysqli_num_rows($query)==0)
- {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement