- $result = SQL_QUERY("SELECT
- p.id, p.userid, p.payout_total, p.target_account,
- p.target_bank, t.type, p.payout_timestamp, p.status,
- t.allow_url AS allow, p.target_url AS url, p.link_text AS alt,
- p.banner_url AS banner
+ $result = SQL_QUERY('SELECT
+ `p`.`id`,
+ `p`.`userid`,
+ `p`.`payout_total`,
+ `p`.`target_account`,
+ `p`.`target_bank`,
+ `t`.`type`,
+ `p`.`payout_timestamp`,
+ `p`.`status`,
+ `t`.`allow_url` AS `allow`,
+ `p`.`target_url` AS `url`,
+ `p`.`link_text` AS `alt`,
+ `p`.`banner_url` AS `banner`