I have problems with the character encoding with the ñ and tildes, the page is in utf-8 and the table and the DB in utf-8_general_ci but it happens as in the following image.
Any solution?
$ connection = new mysqli ($ host, $ userdb, $ clavedb, $ database);