note 66844 added to function.odbc-exec

From: Date: Wed, 31 May 2006 00:02:25 +0000
Subject: note 66844 added to function.odbc-exec
Groups: php.notes 
Request: Send a blank email to php-notes+get-112575@lists.php.net to get a copy of this message
Wouldn't it be better to use the database itself to find out if an id doesn't exist. eg: SELECT COUNT(id) as idCount FROM [Table] WHERE id = [ID] Then check if idCount is zero or not. ---- Server IP: 203.202.10.60 Probable Submitter: 203.185.225.79 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.odbc-exec.php Edit -- http://master.php.net/note/edit/66844 Del: integrated -- http://master.php.net/note/delete/66844/integrated Del: useless -- http://master.php.net/note/delete/66844/useless Del: bad code -- http://master.php.net/note/delete/66844/bad+code Del: spam -- http://master.php.net/note/delete/66844/spam Del: non-english -- http://master.php.net/note/delete/66844/non-english Del: in docs -- http://master.php.net/note/delete/66844/in+docs Del: other reasons-- http://master.php.net/note/delete/66844 Reject -- http://master.php.net/note/reject/66844 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#112575) next »