Hi,
Tried to find query syntax for getting default value from table column, but somehow, not found. Or i'm searching with wrong words....
I can update default values with form like this:
$updsttime = mysqli_query($db,"ALTER TABLE $workhourstable ALTER COLUMN starttime SET DEFAULT '$starttime'");
But. It would be nice, that i could see the current default value first in echoed value. Without opening any phpadmin-consoles, or other actions.
just query this starttime-column default value. Is this rocket-sience or does anyone knows a short and easy way to get the value, as updating it, like above?