Hi I have the following code /*number of times to run*/ $NumCases = $HTTP_POST_VARS['txtNumCases']; /*execute the sql*/ $sqlLargeRequest = sqlexecute($LargeRequest); for ($val = 0; $val < $NumCases; ++$val){ if ($val < $NumCases) { $details = sqlFetchObject( $sqlLargeRequest ); $AccNo = $details ->ACCNO; etc etc It executes the correct number of times but doesnt move to the next record.Im using an Interbase DB. Any ideas?? TIA Wade
- Re: [PHP] sql looping problem?? Wade Halsey
- Re: [PHP] sql looping problem?? Plutarck