Skip to content

Tag: mysql

Dropdown list issues

I’ve also been trying to set a default value in a dropdown box on HTML from the data I retrieved from MySQL. However, I noticed that if the user did not click on the dropdown box and clicked on one item from it. In other words, if they assumed the displayed value is the value they would like to submit

How to put date(parsed from csv) in Python to mysql?

I’ve made separate simple example just to check what method would work with date in my case and didn’t find any solution. we have: db table: code CSV file example_v2.csv: Trace Could you please assist in even find the documentation fit my case or indicate the direction. I’ve already tried a …

POST on MYSQL database done in terminal but nothing in my base

I would like to know why all seems to be okay but nothing is insert in my mysql database ? I get some data from an api and I would like to insert data in table. Using flask, python, pymysql Thanks in advance traceback Answer Assuming that the INSERT statement looked good at that debugging print function, then…

How to convert a bytearray in a tuple in a list to a string?

I am trying to fetch data from my mysql database using python: This reads a column in my database called binaryValue, where every row is either a “0” or a “1” When I print out the variable “myresult”, it gives me a list where each item is a tuple: I need to get a string wit…