select COLUMN_TYPE from information_schema.columns where table_schema='db_name' and table_name='table_name' and COLUMN_NAME='numbers'"
array(1) {
[0]=>
array(1) {
["COLUMN_TYPE"]=>
string(78) "enum('Queued','Delayed','Processing','Completed','Paused','Error','Cancelled')"
}
}
$var="User";
$dbh=new PDO("mysql:host=localhost;dbname=database;","root","");
$stmt=$dbh->prepare("UPDATE `users` SET user=:var");
$stmt->bindParam(":var",$var);
$stmt->execute();