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...
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn