$options->QueryFrom & INNER JOIN
Posted: 2023-01-30 15:22
Hi A'g'ers
Im stuck on something, which I think is possible - Im trying to inner join on a $options->QueryFrom edit. I have this
and get
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM `u05_tank` INNER JOIN `membership_users` as `u05_tank1` ON `u05_tank`.`user' at line 1
Any ideas, please
Im stuck on something, which I think is possible - Im trying to inner join on a $options->QueryFrom edit. I have this
Code: Select all
$options->QueryFrom = 'FROM `u05_tank` INNER JOIN `membership_users` ON `u05_tank`.`username` = `membership_users`.`memberID`';
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM `u05_tank` INNER JOIN `membership_users` as `u05_tank1` ON `u05_tank`.`user' at line 1
Any ideas, please