Unknown column 'LOGO.png' in 'where clause': SELECT * FROM websites_paginas WHERE id = LOGO.png