How to add specific script to WordPress webpage that will working with user input and databases
We are new to WordPress and want to create Website that will be taking user input, running specific script through databases using that input and then outputting specific results on the web-page or sending them to email.
I have found a way to connect WordPress page with databases, but not sure how to include script in between that will be making all calculations. Would appreciate any help and advice.
P.S. we have a Python script but I guess we should convert it to php?