Query Help
#4

PHP код:
SELECT h.*,a.username FROM houses h LEFT JOIN accounts a ON a.id=h.ownerid GROUP BY h.id
In case you use cache_get_row/cache_get_row_* functions, the player's name will be last.

EDIT: Didn't see the above, sorry.
Reply


Messages In This Thread
Query Help - by Dubya - 30.05.2015, 04:55
Re: Query Help - by BroZeus - 30.05.2015, 05:30
Re: Query Help - by Vince - 30.05.2015, 09:19
Re: Query Help - by Konstantinos - 30.05.2015, 09:23

Forum Jump:


Users browsing this thread: 2 Guest(s)