I have a table that consists of a few fields with different data types. My task is to create a PHP script that fills this table with a random data. My script will consist of looped MySQL queries. I know how to create a query for generating random date, integer and string.
I have a column that uses ENUM data type that has 4 values ('accepted', 'with errors', 'done', 'failed').
I need to know how to generate a query that allows me to fill in the ENUM field with a random value.
If anyone helps, I would greatly appreciate.
p.s. If my question is too dumb or not clear enough, I apologize for this.
Thanks