something really stupid going on here that i cant figure out. if i set $keyword == to a number and post in the corresponding number it will print OK, as its correctly posted in from the previous page BUT when i change the condition $keyword== a word (and post in the corresponding keyword, in this case det) it will not print OK... so im not sure if the the word (det) is posting correctly in from the previous page...plz advise
$keyword = $_POST["type1"];
if($keyword=="det"){
print OK;
}
else {print
Shamballs; }
as said above this test works ok with numbers being posted in as below :
$keyword = $_POST["response"];
//check if the keyword is empty
if($keyword=="1"){
print OK;
}
else {print
Shamballs; }