Need fixes on script that imports freshly scrapped business listings info from one table to my database table.
The script should import & update all the information from the scrapped table into the proper tables in my database.
This includes the matching of the correct categories , transfer of the correct hours of operation, and import of default hours where applicable.
At the moment the categories are not being matched and imported properly and the default hours are not being imported properly.
I have some existing code that may assist you in the making of the script.
The script is supposed to update my database by searching for a match in Business title and postal code and if a match is not found the listing would be added as a new listing.
When all is working and tested the import should be set up in a cron.