|
second code block: Users constructor expects an array ...
first code block:
- $mem = $stmt->fetch(); no more data to fetch, returning false.
- username already exists in the class
- SQL, no need of a LIMIT 1 if you have proper DB constraints (e.g. unique username)
third code block: Users->register() does not accept parameters
__________________
please post your code wrapped in [CODE] [/CODE] tags
|