Just wondering why the third condition never works...
the first and second condition work no problem
if($tok == "<answer>")
{
$answer_check = 1;
}
if($answer_check == 1)
{
echo("<p> $tok </p>");
}
if($tok == "</answer>")
{
$answer_check = 0;
}
there defenitly is an instance of </answer> so it should go in, is there a character i have to put in front of the '/' or anything. I have looked everywhere...