I'm Editing little PHP and SQL script
so if the code in the db is
`crystals` int(11) NOT NULL default '0',
and in the php script is
$_POST['crystals']=(int) $_POST['crystals'];
and other code in db is
`class` enum('Knight','Archer') NOT NULL default 'Knight',
What the php script will be (in the place of (int) what i will type) ?
$_POST['class']= (int) $_POST['class'];