I’m creating a website using PHP OOP natively, currently my save function is experiencing an error, it can’t save data into my local database but the image file that I input can be saved into the file that I want.[[here the code](https://i.sstatenter image description hereic.net/DeCB3R4E.png)](https://i.sstatic.net/oZPYsJA4.png)
can anyone help me,it used to work fine but after I changed my template it now gives an error
New contributor
Mothra XD is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.