Welcome Guest, Not a member yet? Register   Sign In
Update and Return
#2

//Assume you have done with the update table
//From the second query, put extra where to it, i.e
$sql = "SELECT SEQ FROM TABLE WHERE FIELD='NEXTINV'";
$query = $this->db->query($sql);
$row = $query->row_array();
$seq = $row['seq']; // here it is
Reply


Messages In This Thread
Update and Return - by goodkarma - 02-19-2015, 11:57 AM
RE: Update and Return - by dbui - 02-19-2015, 09:12 PM
RE: Update and Return - by Wouter60 - 02-20-2015, 04:49 AM
RE: Update and Return - by Nichiren - 02-23-2015, 06:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB