On Feb 18, 2008 11:33 AM, Scott Baker <[EMAIL PROTECTED]> wrote: > > The less database hits you have to do, the faster your code will be. > Getting all the data into a PHP data structure should be the way to go.
After reading all the replies, I have to agree with Scott for my particular situation. The dataset I am getting from SQLite is only selected images, more often then not less then 10 records. Storing them in a PHP array and checking the array to see if it contains the file that is being displayed seems the most speedy approach. Sam _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users