I added enctype=”multipart/form-data” In the form with the input fields for files or images.
Please, can you help me review my codes and why I have this error message issue below on trying to upload and submit a file form? :
” Call to a member function getClientFilename () on string”
I’m thinking the issue could be from my database structure.
I have included the link to my controller, template and MySQL file in GitHub.
https://github.com/olaolu20077
In “newprojectz” controller file and other necessary files.
Thank you.
I added enctype=”multipart/form-data” In the form with the input fields for files or images.
I expected graphics files are array of string and making my form field a multi part attributes would help in both array and string form input submission.