PHP update database record
//Update record
$query="insert into chinachaodai (name,theindex)values ('company','1')";
$result=$mysqli->query($query);
if($result)
{
echo ("Return number of rows:".$mysqli->affected_rows);
}
else
{
echo("Failed");
}
$mysqli->close();
http://www.bkjia.com/PHPjc/953962.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/953962.htmlTechArticlePHP update database record //Update record $query=insert into chinachaodai (name,theindex)values ('company' ,'1'); $result=$mysqli-query($query); if($result) { echo (return number of rows:.$mysq...