update mysql database table using php
<?php
$servername="localhost";
$username="root";
$password="";
$dbname="shrisha";
$conn=mysqli_connect($servername,
$username,$password,$dbname);
$sql="UPDATE tbl SET name='Shri Ram' WHERE
id=01";
mysqli_query($conn,$sql);
mysqli_close($conn);
?>
Comments
Post a Comment