i tried to insert details in registration form and got an error

    Because your query failed (see the manual for mysqli_query). mysqli_error (see the manual) will say why.

    still cant the solution![](https://)

    razzi still cant the solution

    Nothing we can do without seeing the code that is failing. But as Weedpacket alluded to, you need to test the result of your mysqli_query() call, and if it's false then you can use mysqli_error() to get some information as to what MySQL did not like.

      Write a Reply...