You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
SELECT name FROM nav WHERE id = .impressum { font-family:Arial, Helvetica, sans-serif; color:#FFFFFF; font-size:12; font-weight:bold; text-decoration:none; } .impressum:hover { font-family:Arial, Helvetica, sans-serif; color:#000000; font-size:12; font-weight:bold; text-decoration:none; } .klein { font-size:9px; font-weight:normal; text-decoration:none; } .top_link { color:#BE1A9D; font-weight:bold; text-decoration:none; } a { color:#000000;text-decoration:underline; } a.firstnav { display:block; height:25px; line-height:25px; color:#000000; font-size:11; font-weight:normal; text-decoration:none; } a.firstnav:hover { background:#eeeeee; text-indent:16px; color:#808080; font-size:10; text-align:left; font-weight:normal; text-decoration:none; } a.firstnav_hl { display:block; height:25px; line-height:25px; color:#000000; font-size:11; font-weight:normal; text-decoration:none; } a.firstnav_hl:hover { display:block; height:25px; line-height:25px; background:#eeeeee; color:#0000FF; font-size:11; font-weight:normal; text-decoration:none; } a.secnav { display:block; height:15px; line-height:15px; color:#000000; font-size:12; font-weight:normal; text-decoration:none; } a.secnav:hover { display:block; height:15px; line-height:15px; background:#eeeeee; text-indent:16px; color:#be1a9d; font-size:12; font-weight:bold; text-decoration:none; } a.secnav_hl { display:block; height:15px; line-height:15px; color:#000000; font-size:12; font-weight:bold; text-decoration:none; } a.secnav_hl:hover { display:block; height:15px; line-height:15px; color:#000000; font-size:12; font-weight:bold; text-decoration:none; } a.top_link { color:#838383; font-weight:bold; text-decoration:none; } a.top_link:hover { color:#838383; font-weight:bold; text-decoration:underline; } a:hover { text-decoration:underline;font-weight: bold;color: #BE1A9D; } body { margin:0px; padding:0px; font-family:Verdana, Geneva, Arial, Helvetica, sans-serif; font-size:12px; font-weight:normal; text-decoration:none; } h1 { margin:0; padding:0; border-bottom:1px dotted #BE1A9D; line-height:23px; font-size:14px; font-weight:bold; text-decoration:none; } h2 { margin:0; padding:0; font-size:12px; font-weight:bold; text-decoration:none; } h3 { margin:0; padding:0 } h4 { margin:0; padding:0 } h5 { margin:0; padding:0 } h6 { margin:0; padding:0 } p { font-size:12px; font-weight:normal; text-decoration:none; } td { font-size:12px; font-weight:normal; text-decoration:none; }