<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Verdana">New to python/Zope, old-timer on PHP....<br>
<br>
I'm using MySQL and a ZSQL method to insert data into the database.&nbsp; ex:<br>
<br>
&nbsp;&nbsp;&nbsp; insert into org (org_name, org_phone) values ('x', 'y')<br>
<br>
What I'm trying to figure out is that org_id (also part of the org
table, but not specified in the sql statement) is an auto_increment
primary key field and in PHP I can use mysql_insert_id() to find out
what org_id was set to after the mysql_query() call.<br>
<br>
Is there a way to retrieve that value with ZSQL method, or must I use
some other mechanism?<br>
<br>
Thanks!<br>
</font>
<pre class="moz-signature" cols="72">-- 

Ben Menking RHCE
IT Security Consulting
(864) 420-5603
(864) 751-1638 fax

IT and Business Solutions</pre>
</body>
</html>