> $sql_getID = "SELECT max(CUSTID_NUM) from cfull2.tbl_dl_customers";
> how the hell do I get that number into a variable?
Wouldn't changing your SQL statement to this do the trick?:
"SELECT max(CUSTID_NUM) as max_cust_id from cfull2.tbl_dl_customers"
^^^^^^^^^^^^^^
And just retrieve the value of max_cust_id as any other row of data. I
don't use Oracle, but that's how I would do it in ODBC or MySQL.
Gonzalo.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]