macgilli
05-03-2001, 06:22 AM
Hello. I've searched through the archives but to no avail (mostly because I don't know what it is called that I am searching for).
Setup: PHP3 on Apache running on a Windows NT box connecting to an Access 97 database through an odbc connection.
Problem: It's a timesheet utility that is working fine for the most part. There is a dynamic form which lists the projects that an employee is able to charge time to, with a row of textboxes representing sun to sat in which the employee enters their time. When the user is about to save their time, I have a little routine which steps through each row and runs an insert sql for each day. This works fine. The page then reloads showing the textboxes with the newly saved data. If there are too many projects, the SELECT sql's to get the data to place in the textboxes start to fail (ie the "if ($result2 = odbc_Exec($conn, $sqlstr2))" statement returns false).
My question is if there is a maximum number of queries can be run on a single connection, and what is this called, and where do I up the default limit.
Any insight would be greatly appreciated.
Aaron MacGillivary
Setup: PHP3 on Apache running on a Windows NT box connecting to an Access 97 database through an odbc connection.
Problem: It's a timesheet utility that is working fine for the most part. There is a dynamic form which lists the projects that an employee is able to charge time to, with a row of textboxes representing sun to sat in which the employee enters their time. When the user is about to save their time, I have a little routine which steps through each row and runs an insert sql for each day. This works fine. The page then reloads showing the textboxes with the newly saved data. If there are too many projects, the SELECT sql's to get the data to place in the textboxes start to fail (ie the "if ($result2 = odbc_Exec($conn, $sqlstr2))" statement returns false).
My question is if there is a maximum number of queries can be run on a single connection, and what is this called, and where do I up the default limit.
Any insight would be greatly appreciated.
Aaron MacGillivary