Комментарии:
THANK YOU SO MUCH 🙏🙏
ОтветитьLots of Thanks, sir.
ОтветитьTHANK YOU for not including awful deafening rave/electronic music. No, really. Thank you!!
Ответитьerror : Warning: mysqli_free_result() expects parameter 1 to be mysqli_result, boolean
Ответитьits great Thanks but U had not explained how to remove warning which is associated with
mysqli_free_result(). Please explain.
It was really helpful, thanks you so much
ОтветитьPlz how did u create "test_db"
ОтветитьThanks a looooooooooooooooooooooooooooooottttttttttttttttttttttttttttttttttttt
Ответитьme salvaste el culo gracias y saludos cordiales.
Ответитьdude you referencing a file PHP_insert_data_mysql_database.php and you dont mention where it is ???? Dont like that! Be straight up!
Ответитьwhen I click submit the data inthe fields are just deleted and nothing goes to database
Ответитьerror 404 when pressing submit
Ответить$result = mysqli_query($query,$connect);
ОтветитьWarning: mysqli_free_result() expects parameter 1 to be mysqli_result, boolean given in C:\xampp\htdocs\index.php on line 169
Ответитьdata not inserted
showing
Thanks a lot. Its working, uff after working on this a whole day. Finally....
Ответитьerror showing "no databasr selected"
ОтветитьTHANKS A LOT BRO
Ответитьmy page also does nothing when I press submit
Ответитьsir can i know how to retrieve data using php code by a single click
Ответитьim sorry but i follow all the process seems still cant insert data to my database when i tried to click submit its do nothing
Thanks
<?php
$con=mysqli_connect('127.0.0.1','root','');
if(!$con)
{
echo 'not connected server';
}
if(!mysqli_select_db($con,'al'))
{
echo 'database not connected';
}
$id=$_POST['id'];
$name=$_POST['name'];
$email=$_POST['email'];
$gender=$_POST['gender'];
$birth_date=$_POST['birth_date'];
$address=$_POST['address'];
$mobileno=$_POST['mobileno'];
$sql="INSERT INTO `al`(`id`, `name`, `email`, `gender`, `birth_date`, `address`, `mobileno`) VALUES ([$id],[$name],[$email],[$gender],[$birth_date],[$address],[$mobileno])";
if(!mysqli_query($con,$sql))
{
echo 'not inserted';
}
else
{
echo 'inserted';
}
?>
can u solv it?