I'm aware this question has been asked severally but i am unable to find the solution I'm looking for. I have managed to upload CSV files to my database and managed to update them, however there is a limit to number of records i get to update which is 90 rows at most. I've tried uploading records with 400 records but it is unable to update this records. Size wise in the database it has consumed 180kb.
If the query is the issue please guide as any assistance will be appreciated
echo $query="SELECT bankstatement.referenceno,bankstatement.debit,bankstatement.credit,bankstatement.status,cashbook.referenceno,
cashbook.debit,cashbook.credit,cashbook.status
FROM bankstatement CROSS JOIN
cashbook
where '$bank' = '$cash' and cashbook.credit = bankstatement.debit and cashbook.debit = bankstatement.credit and bankstatement.status = '0' and cashbook.status = '0' ";
echo $res= mysqli_query($db,$query) or trigger_error("Query Failed! SQL: $query - Error: ".mysqli_error(),E_USER_ERROR);
if($res){
echo $change = "update bankstatement set status='1' where referenceno in($bank)";
echo $change1 = "update cashbook set status='1' where referenceno in($cash)";
echo mysqli_query($db,$change);
echo mysqli_query($db,$change1);
echo "<script>
alert('Success in Reconciling Process!!!');
window.location.href='viewreconcile.php';
</script>
";
}else{
echo "<script>
alert('Error in Reconciling Process!!!');
window.location.href='managereconcile.php';
</script>
";
}
}
}
}