<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><div><br>
      server: <a href="http://pastebin.com/tdWDgj54" target="_blank">http://pastebin.com/tdWDgj54</a><br>
      <br></div></div></blockquote><div><br></div><div>You're missing quotation in line 11 ... that's when the code highlighting becomes weird.</div><div><br></div><div>Otherwise, try to output the SQL queries to the server log and then run the query in the terminal.</div>

<div>Like this you can see if your query is OK or not.</div><div><br></div><div>Daniel</div><div> </div></div><br><br clear="all"><div><br></div>-- <br><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse">Georepublic UG & Georepublic Japan<br>

eMail: <a href="mailto:daniel.kastl@georepublic.de" style="color:rgb(66,99,171)" target="_blank">daniel.kastl@georepublic.de</a><br>Web: <a href="http://georepublic.de/" style="color:rgb(66,99,171)" target="_blank">http://georepublic.de</a></span><br>