View Single Post
  #11  
Old 01-29-2006, 10:04 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

I'm sorry, it's late at night. This one will work, I promise

Code:
$productid = func_query_first("SELECT productid from $sql_tbl[products] WHERE 1 ORDER BY productid DESC LIMIT 1"); $productid = $productid[productid];
Reply With Quote