does anyone know why my ode isnt evaluationg to true, im still struggling with php's simple things.
$message = "ask kmobilezw kasi";
$Response = '';
$keyword =strtoupper(substr($message,13));
echo $keyword;
if ($keyword == 'KASI')
{
$Response = "Thanks for Entering the Competition The draw will be on 08 May 2009 Your RefNo is '$RefNo' T and C apply.";
}
elseif ($keyword == 'TEBS')
{
$Response = "Thanks for Entering the Competition The draw will be on 31 May 2009 Your RefNo is '$RefNo' T and C apply.";
}
echo $Response;
echo $keyword;
thanks
$message = "ask kmobilezw kasi";
$Response = '';
$keyword =strtoupper(substr($message,13));
echo $keyword;
if ($keyword == 'KASI')
{
$Response = "Thanks for Entering the Competition The draw will be on 08 May 2009 Your RefNo is '$RefNo' T and C apply.";
}
elseif ($keyword == 'TEBS')
{
$Response = "Thanks for Entering the Competition The draw will be on 31 May 2009 Your RefNo is '$RefNo' T and C apply.";
}
echo $Response;
echo $keyword;
thanks