Posts

Showing posts with the label insert into mysql database table using php

insert into mysql database table using php

 <?php $servername="localhost"; $username="root"; $password=""; $dbname="shrisha"; $conn=mysqli_connect($servername, $username,$password,$dbname); $sql="INSERT INTO tbl(id,name)VALUES (02,'sham')"; mysqli_query($conn,$sql); mysqli_close($conn); ?>