Here is a Access SQL query for use with a MySQL database:
$sql = 'SELECT table1.*, table2.*, table3.* FROM table3 INNER JOIN (table1 INNER JOIN table2 ON table1.ID_No = table2.ID_No) ON table3.Cust_No = table2.Cust_No WHERE (((table1.Name) Like "%Hofman%")) ORDER BY table1.Name LIMIT 0,10';
I can't get this working using Apache / PHP, the page just keeps loading and slows my PC down tremendously. It has no problems with a query with just two tables out of three.
Any ideas what's wrong?
Thanks