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

[eluser]verynewtothis[/eluser]
Just some observations.. these might not be directly linked to your problem but something that i noticed

1) Use of single quotes around variable names..
2) using LIMIT in an update query.. if your ID is unique, you don't need that..

anyways... I am completely stumped by the way...
why don't you try this:
Code:
$sql = "UPDATE `table` SET `Title` = ?, `Content` = ? WHERE `ID` =?";
$this->db->query($sql , array($title , $content, $ID));


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