home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2005 June / PCpro_2005_06.ISO / files / opensource / xamp / xampp-win32.exe / xampp / 13limit.phpt < prev    next >
Encoding:
Text File  |  2004-10-01  |  1.0 KB  |  54 lines

  1. --TEST--
  2. DB_driver::row limit
  3. --INI--
  4. error_reporting = 2047
  5. --SKIPIF--
  6. <?php chdir(dirname(__FILE__)); require_once './skipif.inc'; ?>
  7. --FILE--
  8. <?php
  9. require_once './connect.inc';
  10. require_once '../limit.inc';
  11. ?>
  12. --EXPECT--
  13. ======= From: 0 || Number of rows to fetch: 10 =======
  14. 1.- result 0
  15. 2.- result 1
  16. 3.- result 2
  17. 4.- result 3
  18. 5.- result 4
  19. 6.- result 5
  20. 7.- result 6
  21. 8.- result 7
  22. 9.- result 8
  23. 10.- result 9
  24. ======= From: 10 || Number of rows to fetch: 10 =======
  25. 11.- result 10
  26. 12.- result 11
  27. 13.- result 12
  28. 14.- result 13
  29. 15.- result 14
  30. 16.- result 15
  31. 17.- result 16
  32. 18.- result 17
  33. 19.- result 18
  34. 20.- result 19
  35. ======= From: 20 || Number of rows to fetch: 10 =======
  36. 21.- result 20
  37. 22.- result 21
  38. 23.- result 22
  39. 24.- result 23
  40. 25.- result 24
  41. 26.- result 25
  42. 27.- result 26
  43. 28.- result 27
  44. 29.- result 28
  45. 30.- result 29
  46. ======= From: 30 || Number of rows to fetch: 10 =======
  47. 31.- result 30
  48. 32.- result 31
  49. 33.- result 32
  50. ======= Passing $params || From: 11 || Number of rows to fetch: 3 =======
  51. 12.- result 11
  52. 13.- result 12
  53. 14.- result 13
  54.