i tried to insert details in registration form and got an error
mysqli_num_rows() expects parameter 1 to be mysqli_result, bool given
Because your query failed (see the manual for mysqli_query
). mysqli_error
(see the manual) will say why.
still cant the solution
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.