Welcome Guest, Not a member yet? Register   Sign In
mysqli update record returns error
#6

[eluser]Atasa[/eluser]
Hi thanx for your reply,
I did try to echo the last_query() but it is impossible hence the error happens earlier i guess.
I thing I have to tell you a bit of the logic for the app i construct.
First I had problems with Stored Procedures executing more than one sql statement.
I was getting the very well known error "Command Out of Sync".

Therefore my workaround with CI was to change the _execute function in mysqli_driver.php
from mysqli_query to mysqli_multi_query.

Problem solved and I was very happy about it!!!

But when I came to Update a record i got in to this hell.
I also wrote a procedure for the update and try to execute like all other queries
but I was getting the same message.

Now this is really funny I say.

The only solution that worked since yesterday is to switch back to mysqli typo
Code:
if($result = mysqli_query($this->db->conn_id, $str))    
return TRUE;

Any idea?


Messages In This Thread
mysqli update record returns error - by El Forum - 04-01-2008, 03:24 AM
mysqli update record returns error - by El Forum - 04-01-2008, 05:55 AM
mysqli update record returns error - by El Forum - 04-01-2008, 06:39 AM
mysqli update record returns error - by El Forum - 04-01-2008, 08:00 AM
mysqli update record returns error - by El Forum - 04-01-2008, 12:21 PM
mysqli update record returns error - by El Forum - 04-01-2008, 01:30 PM
mysqli update record returns error - by El Forum - 04-01-2008, 01:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB