|
|
|
помогите понять в чём проблема
|
|||
|---|---|---|---|
|
#18+
есть запрос : set @curppid=null, @curindx=0; INSERT INTO tree_table (`idgroup`,`path`,`lvl`) SELECT ... и т.д. в workbench`е работает как миленький. а в php скрипте выдает : #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 'INSERT INTO tree_table (`idgroup`,`path`,`lvl`) SELECT' at line 1 может быть надо указать какой-то параметр сессии типа как устанавливается кодировка SET NAMES "UTF-8" в начале соединения с базой.. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.09.2013, 16:46:41 |
|
||
|
|

start [/forum/topic.php?fid=47&msg=38385697&tid=1836122]: |
0ms |
get settings: |
13ms |
get forum list: |
9ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
28ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
43ms |
get tp. blocked users: |
2ms |
| others: | 194ms |
| total: | 304ms |

| 0 / 0 |
