+ 2

Hi everyone. I've run into problem

I keep getting: Fatal error: Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: parameter was not defined On the line where i try to execute the statement. This is my code https://code.sololearn.com/w29SM2PLl2sP/?ref=app

13th Sep 2021, 5:38 PM
Hosein Salarvand
Hosein Salarvand - avatar
3 Answers
+ 4
Typo VALUES(:fisrtname, Fix to :firstname
13th Sep 2021, 5:51 PM
Tibor Santa
Tibor Santa - avatar
+ 1
Actually same typo twice.. After 'users' And after 'values'
14th Sep 2021, 8:46 AM
Tibor Santa
Tibor Santa - avatar
0
Tibor Santa nothing happens And shows the same error
14th Sep 2021, 8:45 AM
Hosein Salarvand
Hosein Salarvand - avatar