Page 1 of 1

why would this be?

Posted: Mon Mar 29, 2004 11:28 pm
by southeastweb
25 is is being returned here, with proper result should be 1
?? does anyone know why?

$a = '25';
$b = '25';

$prob4 = $a /= $b; //$a = $a / $b

thanks in advance, maybe im just missing something totally! :(

Posted: Mon Mar 29, 2004 11:37 pm
by m3mn0n

Thanks!

Posted: Tue Mar 30, 2004 12:50 am
by southeastweb
Thanks for the reply. I have pretty much every PHP related site bookmarked, and use them along with books to locate answers and resolve problems, this specific one wasn't adding up, and according to all my material, my answer should have come to the proper one. It just really threw me off, I must be doing something wrong, I will run the comment. Thanks, Jason