0
Help!! Creating records in database with PHP
Hi guys i need your help.. I watch this in tutorial but the problem is there an error appear it say's "Warning: mysqli_error() expects exactly 1 parameter, 0 given in ..... On line 24 Query Failed But in the tutorial there is no error appear.. Here is the link https://code.sololearn.com/w8Wo08o753A7/?ref=app Sorry for my bad english..
3 odpowiedzi
+ 2
Its a bit hard to confirm because you have not shown the html, just make sure that you set the "name" of the html tag, not just the "id"
+ 1
i found out the problem in query..
The table name is different from my db instead admin i put users in query.
$query = "INSERT INTO admin(username,password)";
$query .= "VALUE ('$username', '$password')";
0
Hi Monical i already include the html please look at my code.. Thanks