Yep. Here we go.

Example:

- cfhttp to get simple xml file, main data is a list of integers. no problem

- run that twice to get two separate lists from two separate sources (url's)

- use cfscript to put each list into a new query ("QueryNew"), then run cfquery (dbtype="query") on those queries to get common integers between the two lists, then store in DB.


Benefit: Fast, easy, no arrays needed, no extra memory used, no data scoping. cfhttp request data is disposable. only need it long enough to compare two strings.

Key is the query of queries to compare the two strings and get the data you need.

So, how do you do a query of queries in PHP, of does PHP have a functional equivalent?

_____________________
Derrick Peavy
[email protected]
404-786-5036

“Innovation distinguishes between a leader and a follower.” -Steve Jobs
________________________




Reply via email to