note 104516 rejected from function.intval by danbrown

From: Date: Mon, 20 Jun 2011 14:15:17 +0000
Subject: note 104516 rejected from function.intval by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-180678@lists.php.net to get a copy of this message
Note Submitter: craig1231 at hotmail dot com ---- $num1 = @mysql_num_rows($q1); // 505 $num2 = @mysql_num_rows($q2); // 553 $num3 = $num1 - $num2; // 18446744073709551568?? Obviously treating a INT as a UINT. Any ideas for a work around?

« previous php.notes (#180678) next »