SELECT * FROM pagine WHERE idPagina = i
MySQL Error: Unknown column 'i' in 'where clause'
This script cannot continue, terminating.