|
|
|
помогите понять в чём проблема
|
|||
|---|---|---|---|
|
#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&fpage=210&tid=1836122]: |
0ms |
get settings: |
7ms |
get forum list: |
10ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
27ms |
get topic data: |
7ms |
get forum data: |
2ms |
get page messages: |
33ms |
get tp. blocked users: |
1ms |
| others: | 230ms |
| total: | 321ms |

| 0 / 0 |
