note 8301 added to mysql_connect

From: Date: Tue, 05 Sep 2000 06:20:19 +0000
Subject: note 8301 added to mysql_connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-4161@lists.php.net to get a copy of this message
If I use $query="select max(id) from table1"; $result=mysql_query($query,$db_connect); But I cannot get the maximum of id,$result is also a resource. And I must make another query to find the maximum of id. http://www.php.net/manual/function.mysql-connect.php

« previous php.notes (#4161) next »