PDA

View Full Version : Datamabager issue...


wolfe
01-14-2015, 10:04 AM
im trying to get the ID of the inserted item

the data manager version of $db->inserd_id();

Dave
01-14-2015, 10:30 AM
If you executed a query using $db->query_write(), you can just use the $db->insert_id() function to get the ID of the inserted item.

wolfe
01-14-2015, 12:44 PM
its ok i got it now

$id = $date->save();