1. Query the database on each loop to check if that record exists.
2. Create a comma-separated string of the ID all of the XML records and then query the database using the IN() function.
Both see really inefficient. Can anyone suggest a better way?
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
