Having problems with form on higher php version
Posted: Sun Aug 06, 2023 8:49 am
On php 7.3 or 7.4 the form works fine but on php 8 or 8.1, 8.2 it gets errors.
It was not the issue with hostinger. I tested using xammp php 8.2.4 the same errors came. So I think it has to be something related to php.ini config I think. I have given the project file and also the php.ini file. I tested it with both online mysql and even xammp localhost.
Note that the first time the form will submit correctly but when the second time the form again gets submitted the Uncaught mysqli_sql_exception: Duplicate column name 'FORMID'
There are other issues which I have written in the notes in the project file.
here are the files
https://temp-file.org/NlP6dn5dkuKoCl2/file
It was not the issue with hostinger. I tested using xammp php 8.2.4 the same errors came. So I think it has to be something related to php.ini config I think. I have given the project file and also the php.ini file. I tested it with both online mysql and even xammp localhost.
Note that the first time the form will submit correctly but when the second time the form again gets submitted the Uncaught mysqli_sql_exception: Duplicate column name 'FORMID'
There are other issues which I have written in the notes in the project file.
here are the files
https://temp-file.org/NlP6dn5dkuKoCl2/file