SELECT TABLE and LIMIT

mam so sintaxom na tomto servery, ako by som mohol zadat limit na prikaz SELECT nieco FROM nazov_tabulky LIMIT 30 v zdrojovom kode nie v phpmyadmine, dakujem.
Máš to dobře. V čem je problém?
No mam v zdrojaku nieco taketo:
<?php

//prikazy

"SELECT "
."DATE_FORMAT(write_time,'%e.%c.%Y; %H.%i.%s') AS write_time," //."write_time,"
."name,"
."IFNULL(mail,'') AS mail,"
."IFNULL(predmet,'bez predmetu') AS predmet,"
."message "
."FROM book "
."ORDER BY write_time DESC"
;
//prikazy
?>
ked tam pridam :
<?php

//prikazy

"SELECT "
."DATE_FORMAT(write_time,'%e.%c.%Y; %H.%i.%s') AS write_time," //."write_time,"
."name,"
."IFNULL(mail,'') AS mail,"
."IFNULL(predmet,'bez predmetu') AS predmet,"
."message "
."FROM book "
."ORDER BY write_time DESC"
."LIMIT 29"
;
//prikazy
?>
tak mi vyhodi chybu:

1064: 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 'DESCLIMIT 30' at line 1.

Skusal som aj kadejako dat ciarky no nic. tak ak vies daco tak ta poprosim o pomoc. dik
Mezi DESC a LIMIT nemáš mezeru.
ja som tam DESCLIMIT nepisal dal som tam iba LIMIT, ale teraz som to skusil s
...
."DESC LIMIT 29",
...

a dalo chybu

1064: 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 'DESCDESC LIMIT 29' at line 1
."ORDER BY write_time DESC" <--- TADY
."LIMIT 29"

Vždyť ti píšu, že za DESC nemáš mezeru, takže to udělá řetězec DESCLIMIT a databáze to neschroupne.
Dik to som si nevsimol jaaaj, ok uz to fici.
bobik (smrecok.wz.cz)
$prikaz = "prikaz";
mysql($prikaz) or die(echo "<hr>".$prikaz);
pak ti to krome chyby vypise i cely sql prikaz.