mysqli_query() expects at least 2 parameters, 1 given in C:\xampp\htdocs\satan project\confeb.php on line 8
- include_once('connect1.php');
- if(isset($_POST['submit']))
- {
- $name = $_POST['name'];
- $email = $_POST['email'];
- $address = $_POST['address'];
- if(mysqli_query("insert into students_record(name,email,address) VALUES('$name','$email','$address')"))
- {
- echo"submitted";
- }
- }
- ?>
- "en-US">
- "UTF-8">
satankumar900@gmail.com | php tutorials - method="post">
Name:
name="name"/>
"text"email
name="email" />
"text"address
name="address" />
"text""submit"
name="submit" value="submit" />
this is my code and lineno 8 showing mysqli_query at least 2parameter i dont find out exactily
Replies
Know the answer? Post it — somebody with the same question will find it here.