I've been programing with PHP for some time now, but am just getting started with mySQL.
In general, which is faster?
1) One query call to a database and then extracting several different subsets of data using PHP.
2) Several query calls to a database with very little PHP-side processing.
In other words, is it faster to process on the PHP-side or the database-side?
Thanks,
Kory
In general, which is faster?
1) One query call to a database and then extracting several different subsets of data using PHP.
2) Several query calls to a database with very little PHP-side processing.
In other words, is it faster to process on the PHP-side or the database-side?
Thanks,
Kory