Forums

Flask: data search did not match with MySQL

Delete

Hi there, I'm afraid we (staff) can't help you debug SQL queries, but you may be able to get some help at codementor. Or one of our other forum users may have some ideas!

Hi harry,

short question is perMin = request.args.get('perMin',default='-5000',type=str) allow to get value like '-30' or 'NA'? It unable to get input from negative value and 'NA' only

As I understand it, negative numbers are fine in HTML forms, and I can't imagine flask would block them...

This is why I am curious why it can search all the positive numbers but ignore the negative numbers

maybe some debug prints will help you find out exactly what's going on?