i got a very weird problem... here look on this:
$t = "0123456789><a>*987</a>654<b>321</b>";
$tests = strpos($t, "<");
$test = strpos($t, ">", $tests);
print "<br><br>test should be 13 let's see ==>> $test<br><br>";
print "substr($t, $tests+1, $test)<br><br>";
$testing = substr($t, $tests+1, $test);
print "testing ==> $testing";
and that is what i get:
test should be 13 let's see ==>> 13
substr(0123456789>*987654321, 11+1, 13)
testing ==> a>*987654
i'm not suppose to get in the testing only this: "a>" instead of "a>*987654" right??
how come it does that?? does someone know the reason??
Thanks...