[PHP] Performing Multiple Prepared Queries

2007-10-03 Thread Nathaniel Hall
All, I am attempting to perform multiple prepared queries using mysqli. I want to pull information out of one table based on the information in another. I do not receive any errors and the rest of the page seems to load correctly. Below is my code: foreach ($uniqueids as $entryid) {

Re: [PHP] Performing Multiple Prepared Queries

2007-10-03 Thread Carlton Whitehead
, October 3, 2007 10:47:22 AM (GMT-0500) America/New_York Subject: [PHP] Performing Multiple Prepared Queries All, I am attempting to perform multiple prepared queries using mysqli. I want to pull information out of one table based on the information in another. I do not receive any errors

Re: [PHP] Performing Multiple Prepared Queries

2007-10-03 Thread Nathaniel Hall
Carlton Whitehead wrote: Hi Nathaniel, When your query starts its second loop, the resultset from the first one is still defined as the resultset in your prepared statement object. Before you can get another resultset, you need to clear the first one using the mysqli_stmt_free_result