Create Record If No Match 22.02.08
I need a script created that I will run with a cron job daily to do the following:
I want to query 2 mysql tables within a database. I need the script look at a field in the records in table 1 and determine if there are records in table 2 with a common string in that table. For each record in table 1, If no records are found that match, then a new record will be created in table 2 using some of the data from table 1 and some default data.
That’s it. If this were ASP.net I could do it myself but I have yet to learn php and much about php, so I need some help on this one.



