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