|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2020-10-05 08:47 UTC] cmb@php.net
-Status: Open
+Status: Not a bug
-Assigned To:
+Assigned To: cmb
[2020-10-05 08:47 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 08:00:01 2025 UTC |
Description: ------------ I'm working with a Access database (.mdb with Access 2003) and I use ODBC to make requests and connection. I'm trying to list my users with a simple SELECT * FROM T_Users, and show the result. I've 3 record in my table but the request send me only the last 2 records. Test script: --------------- $sql_select_author = 'SELECT * FROM T_Users'; $req_select_author = odbc_exec($dbc, $sql_select_author); $dat_select_author = odbc_fetch_array($req_select_author); while( $data = odbc_fetch_array( $req_select_author ) ) { echo $data['FirstName_Users'] .' '. $data['LastName_Users']; } Expected result: ---------------- ID - First Name - Last Name 1 - Monsieur - Admin 2 - Tartenpion - Maurice 3 - Dubosc - Franc Actual result: -------------- ID - First Name - Last Name 2 - Tartenpion - Maurice 3 - Dubosc - Franc