I'm doing a web page, from the specified HTML input content and uploaded to the mysql database, using the apache + HTML + python + mysql, on cloud server,
From the HTML input specified content and through the python is shown in the latest web page this function implements,
Using a python program to change the mysql this function also implements,
But going to from HTML input specified content and through the python uploaded to the mysql database is not possible, the error log is as follows:
[Thu Jun 11 10:24:12. 186304, 2020] [cgi: error] [pid 2348: dar 1852] [client 117.131.117.100:55003] the End of the script output before headers: store. Py, referer: http://www.ppotest.club/test1/ppotest.html
[Thu Jun 11 10:24:12. 186304, 2020] [cgi: error] [pid 2348: dar 1852] [client 117.131.117.100:55003] AH01215: Traceback (the most recent call last) : \ r: C:/apache/Apache24/cgi - bin/store. Py, referer: http://www.ppotest.club/test1/ppotest.html
[Thu Jun 11 10:24:12. 186304, 2020] [cgi: error] [pid 2348: dar 1852] [client 117.131.117.100:55003] AH01215: the File "C:/apache/Apache24/cgi - bin/store. Py", line 32, in & lt; module> \ r: C:/apache/Apache24/cgi - bin/store. Py, referer: http://www.ppotest.club/test1/ppotest.html
[Thu Jun 11 10:24:12. 186304, 2020] [cgi: error] [pid 2348: dar 1852] [client 117.131.117.100:55003] AH01215: SQL="" "INSERT INTO TEST1 (NAME, \ r: C:/apache/Apache24/cgi - bin/store. Py, referer: http://www.ppotest.club/test1/ppotest.html
10:24:12 [Thu Jun 11. 186304, 2020] [cgi: error] [pid 2348: dar 1852] [client 117.131.117.100:55003] AH01215: ValueError: unsupported format character 'and' x2c (0) at the index 87 \ r: C:/apache/Apache24/cgi - bin/store. Py, referer: http://www.ppotest.club/test1/ppotest.html
Why is this?