Re: note 9409 added to odbc_result

From: Date: Fri, 03 Nov 2000 23:20:35 +0000
Subject: Re: note 9409 added to odbc_result
Groups: php.notes 
Request: Send a blank email to php-notes+get-7356@lists.php.net to get a copy of this message
When you find bugs, submit them to bugs.php.net, otherwise the developers in the PHP-DEV list may not see it at all. The notes to the manual is not the place for but reports. Your note will be removed. --- andy@mindgate.net wrote: > After upgrading to PHP 4.0.3pl1 from 4.0.2, the > following statements: > > $qryid=odbc_exec($link,"select @@IDENTITY as > 'lastinserted'"); > > $lastinserted=odbc_result($qryid,"lastinserted"); > > seem to be putting a decimal value instead of an > integer in $lastinserted because an error occurs > which displays the value of $lastinserted in the > odbc_exec string (that comes after the 2 statements > above) as being in decimal instead of integer format > (i.e. 14.00 instead of just 14). > > http://www.php.net/manual/function.odbc-result.php > > > -- > PHP Notes Mailing List (http://www.php.net/) > To unsubscribe, e-mail: > php-notes-unsubscribe@lists.php.net > For additional commands, e-mail: > php-notes-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > ===== --- Jesus M. Castagnetto (jcastagnetto@yahoo.com) __________________________________________________ Do You Yahoo!? From homework help to love advice, Yahoo! Experts has your answer. http://experts.yahoo.com/

« previous php.notes (#7356) next »