How can I get 23
instead of 1
for $lastnum1
?
$text = "1 out of 23";
$lastnum1 = $this->getEval(eregi_replace("[^* out of]", '', $text));
See Question&Answers more detail:osHow can I get 23
instead of 1
for $lastnum1
?
$text = "1 out of 23";
$lastnum1 = $this->getEval(eregi_replace("[^* out of]", '', $text));
See Question&Answers more detail:os