|
ПОМОГИТЕ в чем ошибка!!!!
|
|||
---|---|---|---|
#18+
у меня есть запрос с использованием PERL: $sth=$dbh->prepare("SELECT DATE_FORMAT(guest.date,'%d-%m-%Y | %H:%i:%s') as d, guest.name as name, guest.text as text, guest.email as email, guest.id as id, answer.text as t_answer FROM guest LEFT JOIN answer ON guest.id=answer.id ORDER BY guest.id DESC LIMIT ?,?"); $sth->execute( $start,$page_size); у меня на компьЮТЕРЕ ВСЁ ВЫПОЛНЯЕТСЯ КОРЕКТНО И ПРАВИЛЬНО, а вот на сервере выдает ошибку: DBD::mysql::st execute failed: 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 ''0','6'' at line 2 at guest.pl line 300 line 300-это само выражение SELECT. ... |
|||
:
Нравится:
Не нравится:
|
|||
03.05.2004, 00:32 |
|
|
start [/forum/topic.php?fid=47&gotonew=1&tid=1855190]: |
0ms |
get settings: |
9ms |
get forum list: |
14ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
34ms |
get topic data: |
11ms |
get first new msg: |
7ms |
get forum data: |
2ms |
get page messages: |
31ms |
get tp. blocked users: |
2ms |
others: | 312ms |
total: | 430ms |
0 / 0 |