How would i go about trying to call enum value from SQL for my SQL Query below if someone could assist and point me in the right direction it would be great.
$insertLogSQL = $odb -> prepare("INSERT INTO `logs`
VALUES (NULL, :user, :ip, :port, :time, :method, UNIX_TIMESTAMP(), :stopped, :server)");
$insertLogSQL -> execute(array(
':user' => $_SESSION['username'],
':ip' => $host,
':port' => $port,
':time' => $time,
':method' => $method,
':stopped' => 0,
':server' => )
);
My code work fine i'm just trying to implement server rotation but wouldn't know how to go about enum ?