Welcome Guest, Not a member yet? Register   Sign In
Query Problem
#5

[eluser]tolgay[/eluser]
[quote author="jmadsen" date="1340793814"]try

Code:
$this->db->select("*", FALSE );

but I find it to be unreliable at times[/quote]

I used this

Code:
$this->db->select("*",false);
$this->db->from('arkadaslar');
$this->db->join('uyeler','uyeler.id=(arkadaslar.uid+arkadaslar.fid)-1)');
$this->db->get();

But it didn't work.

Quote: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 '' at line 3

SELECT * FROM (`arkadaslar`) JOIN `uyeler` ON `uyeler`.`id`=(`arkadaslar`.`uid+arkadaslar`.`fid)-1)`


Messages In This Thread
Query Problem - by El Forum - 06-27-2012, 02:08 AM
Query Problem - by El Forum - 06-27-2012, 02:30 AM
Query Problem - by El Forum - 06-27-2012, 03:19 AM
Query Problem - by El Forum - 06-27-2012, 03:43 AM
Query Problem - by El Forum - 06-27-2012, 04:09 AM
Query Problem - by El Forum - 06-27-2012, 07:21 AM
Query Problem - by El Forum - 06-27-2012, 08:28 AM
Query Problem - by El Forum - 06-27-2012, 09:10 AM
Query Problem - by El Forum - 06-27-2012, 09:28 AM
Query Problem - by El Forum - 06-27-2012, 09:48 AM
Query Problem - by El Forum - 06-27-2012, 10:34 AM
Query Problem - by El Forum - 06-27-2012, 10:47 AM
Query Problem - by El Forum - 06-27-2012, 10:55 AM
Query Problem - by El Forum - 06-27-2012, 11:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB