16.08.2017, 16:57
just use switch(strval(text)) then case's under it, like;
PHP код:
switch(strval(text))
{
case 1:
{
//shit
}
case etc...
}