got an error trying to register
Call to a member function bind_param() on a non-object.
The sql said client table instead of clients table. Now registraion works.