Welcome Guest, Not a member yet? Register   Sign In
Hi There, some odd DB issues..
#8

[eluser]Noy Gabay[/eluser]
I did. It's valid, but for some reason still won't update. The whole query is valid, and displays as a perfectly-working sql command using last_query().
More to that, this is not working:
Code:
$this->db->query("UPDATE `table` SET `Title` = '$Title', `Content` = '$Content' WHERE `ID` =$ID LIMIT 1 ;");

But this IS working:
Code:
$this->db->query("UPDATE `table` SET `Title` = 'Title', `Content` = 'Content' WHERE `ID` =1 LIMIT 1 ;");

How come..?

P.S. -- The variables have a valid value.


Messages In This Thread
Hi There, some odd DB issues.. - by El Forum - 08-24-2009, 11:54 AM
Hi There, some odd DB issues.. - by El Forum - 08-24-2009, 01:37 PM
Hi There, some odd DB issues.. - by El Forum - 08-24-2009, 03:08 PM
Hi There, some odd DB issues.. - by El Forum - 08-25-2009, 01:13 AM
Hi There, some odd DB issues.. - by El Forum - 08-25-2009, 01:23 AM
Hi There, some odd DB issues.. - by El Forum - 08-25-2009, 01:38 AM
Hi There, some odd DB issues.. - by El Forum - 08-25-2009, 09:18 AM
Hi There, some odd DB issues.. - by El Forum - 08-25-2009, 09:57 AM
Hi There, some odd DB issues.. - by El Forum - 08-25-2009, 10:08 AM
Hi There, some odd DB issues.. - by El Forum - 08-25-2009, 10:22 AM
Hi There, some odd DB issues.. - by El Forum - 08-25-2009, 10:25 AM
Hi There, some odd DB issues.. - by El Forum - 09-24-2009, 12:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB