When I debug my program, I have a lot of big SQL queries as output below, and I parse them. Is it possible to set the request style as follows:
SELECT * FROM users LEFT JOIN profile ON users.id = profile.id WHERE user_id = 2 to
SELECT * FROM users LEFT JOIN profile ON users.id = profile.id WHERE user_id = 2
so would it be easier to complete the request? Is there anything I could do without a lot of code in PHP? Or maybe there is a jQuery plugin for this?
source share