PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have 1 table into which I load data on a daily basis, assinging the current date and an item code to the table and the primary index. (ie index PRIMARY date, itemcode).
I want to be able to compare the information I loaded today, for instance, with the information I loaded yesterday and generate a brief output of records that have changed. Below is a sample of the PHP code im using to achieve this. The thing is it works, but it is VERY SLOW. There are obviously better ways of doing this so can anyone point me in the right direction to speed it up a little?