|
|
|
mysqli_stmt_num_rows
|
|||
|---|---|---|---|
|
#18+
Код: sql 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. Это работает. Но как узнать количество строк, возвращаемых sеlеct`ом, без mysqli_stmt_store_result($rawdata); ? Оно нИхочит так как ниже и возвращает 0. Код: sql 1. 2. 3. 4. 5. 6. 7. 8. 9. Почему? Я хочу сразу же после выполнения запроса знать сколько строк он вернул. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 21.04.2016, 18:17 |
|
||
|
mysqli_stmt_num_rows
|
|||
|---|---|---|---|
|
#18+
mysqli_stmt_store_result торкает и нум_роу и аффектед_роу http://itmages.ru/image/view/4175066/014e6e2a ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 21.04.2016, 18:24 |
|
||
|
mysqli_stmt_num_rows
|
|||
|---|---|---|---|
|
#18+
впринципе я уже сам дочитался Please be advised, for people who sometimes miss to read this important Manual entry for this function: If you do not use mysqli_stmt_store_result( ), and immediatley call this function after executing a prepared statement, this function will usually return 0 as it has no way to know how many rows... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 21.04.2016, 18:49 |
|
||
|
|

start [/forum/search_topic.php?author=crn&author_mode=last_posts&do_search=1]: |
0ms |
get settings: |
8ms |
get forum list: |
11ms |
get settings: |
6ms |
get forum list: |
14ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
20ms |
get topic data: |
10ms |
get forum data: |
2ms |
get page messages: |
42ms |
get tp. blocked users: |
1ms |
| others: | 693ms |
| total: | 813ms |

| 0 / 0 |
