28.08.2015, 18:33
Use strval to convert the inputtext's string into integer.
Something like
And for yes/no;
Something like
PHP код:
new
prizewinner;
prizewinner = strval(inputtext);
PHP код:
if (strcmp(inputtext, "Yes") == 0)
{
// Code here
}