由买买提看人间百态

topics

全部话题 - 话题: forthchar
(共0页)
s*****w
发帖数: 1527
1
i have the following code
$forthChar = substr($tmpLine, 3, 1);
print "--".$forthChar."--\n";
if ($forthChar == " ") {
} else {
print "not same\n";
}
this is what i get
p**i
发帖数: 688
2

$forthChar eq " " , == is for numeric equality
(共0页)