Actions

JDatabase/insertid

From Joomla! Documentation

Revision as of 20:58, 16 June 2009 by Steve7642 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

$newId = $dbaseConnection->insertid();

// returns the automatic id number generated by the most recent insert query, very handy..