Je query 'SELECT `content` FROM `websitetemplates` WHERE `userid`=771 AND `tempid`=' klopt niet.