Click here to Skip to main content
15,884,472 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '<?php
$conn=mysqli_connect("localhost","root","","feedback_system")or die(mysqli' at line 1

What I have tried:

if i import my dbconfigartion file in xampp mysql server this error is shown and Inserting is not able to do
Posted
Comments
Richard MacCutchan 5-Feb-23 3:04am    
The text is incomplete; please update your question with the exact code from your PHP source.
Andre Oosthuizen 6-Feb-23 5:42am    
From the little info provided above, the only thing that might cause this error is the naming of your database - feedback_system that is spelled incorrectly. Check for uppercase, check for underscore etc.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900