Re: [PHP-DB] mysqli error

2009-07-01 Thread Niel Archer
> Whenever I run the following code, I get the error: "Commands out of sync; > you can't run this command now" as I try to execute my prepared Update > statement. > > $fpiDataAddr = fopen('outputAddr.txt','r') or die("can not open In File "); > > //Connect to mySQL server > $mysqli = new mysqli(

Re: [PHP-DB] mysqli error

2009-07-01 Thread Jason Gerfen
Jason Gerfen wrote: > Kevin Castiglia wrote: >> Whenever I run the following code, I get the error: "Commands out of sync; >> you can't run this command now" as I try to execute my prepared Update >> statement. >> >> > $fpiDataAddr = fopen('outputAddr.txt','r') or die("can not open In File "); >> >

Re: [PHP-DB] mysqli error

2009-07-01 Thread Jason Gerfen
Kevin Castiglia wrote: > Whenever I run the following code, I get the error: "Commands out of sync; > you can't run this command now" as I try to execute my prepared Update > statement. > > $fpiDataAddr = fopen('outputAddr.txt','r') or die("can not open In File "); > > //Connect to mySQL server

[PHP-DB] mysqli error

2009-07-01 Thread Kevin Castiglia
Whenever I run the following code, I get the error: "Commands out of sync; you can't run this command now" as I try to execute my prepared Update statement. connect_error) { die('Could not connect: '.$mysqli->connect_error); } else{ echo "Connected successfully\n"; } $seqno = 0; $k = 'Kev'; $sql