recent searches:
searching include ,
searching variable ,
searching post...
Procedural style:
mixed mysqli_num_rows ( mysqli result )Object oriented style (property):
class mysqli {Returns the number of rows in the result set.
The use of mysqli_num_rows() depends on whether you use buffered or unbuffered result sets. In case you use unbuffered resultsets mysqli_num_rows() will not correct the correct number of rows until all the rows in the result have been retrieved.
Returns number of rows in the result set.
Notatka: If the number of rows is greater than maximal int value, the number will be returned as a string.
Przykład 2. Procedural style
|
Powyższy przykład wyświetli:
Result set has 239 rows. |
| Poprzedni | Spis treści | Następny |
| mysqli_num_fields | Początek rozdziału | mysqli_options |
Język PHP to dzisiaj powszechnie przyjęty standard, podstawa tworzenia dynamicznych stron WWW, opartych na bazach danych.
PHP to język skryptowy. Znaczy to, że jest to język nie kompilowalny. Program jest wykonywany przez interpreter na podstawie jego kodu źródłowego. Język PHP to element technologii internetowej SERVER-SIDE. Znaczy to, że kod języka jest wykonywany od strony serwera (na serwerze).
W jakim celu używac PHP? Po co to komu?
Załóżmy, że potrzebujemy takiej strony internetowej, która wyświetli zawsze bieżącą datę. Dzięki technologii PHP, datę i godzinę odczytywać można z miejsca gdzie wykonuje się skrypt, np. gdy serwer znajduje się w USA a my w Polsce to widoczna jest różnica w czasie który zostanie wyświetlony.
kłady sportowe praca Chełmno kłady sportowe domki letniskowe produkcja Sagaidacul de Susagroturystyka kaszuby, powiększanie ust, wiza do rosji, kaszuby domki, agroturystyka kaszuby, powiększanie ust, mieszkania Bydgoszcz