Help!! Creating records in database with PHP | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
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..

16th Apr 2019, 2:58 PM
Jeffrey Mananguite
Jeffrey Mananguite - avatar
3 Antworten
+ 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"
16th Apr 2019, 9:26 PM
Logomonic Learning
Logomonic Learning - avatar
+ 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')";
17th Apr 2019, 6:33 AM
Jeffrey Mananguite
Jeffrey Mananguite - avatar
0
Hi Monical i already include the html please look at my code.. Thanks
17th Apr 2019, 1:51 AM
Jeffrey Mananguite
Jeffrey Mananguite - avatar