Hi all. I'm trying to learn php, but am really struggling with a registration page.
I have this...
I keep getting an error of "Notice: Trying to get property of non-object in C:\xampp\...\register.php on line 33"
I just can't seem get this right. I did look at the php man page but I can't see a difference in the way that they do it and I do it. What am I missing?
Thanks
I have this...
Code:
32. $check_email = $connect->query("SELECT email FROM tbl_users WHERE email='$email'");
33. $count = $check_email->num_rows;
I keep getting an error of "Notice: Trying to get property of non-object in C:\xampp\...\register.php on line 33"
I just can't seem get this right. I did look at the php man page but I can't see a difference in the way that they do it and I do it. What am I missing?
Thanks