[eluser]soupdragon[/eluser]
trying to use active record
is there any way to pass mysql's NOW() to mysql ?
$insertarray['id'] = '';
foreach($sellerdata as $what => $details) {
if($what != 'passconf') {
$insertarray[$what] = $details;
}
}
$insertarray['confirmed'] = 'no';
$insertarray['paid'] = '';
$insertarray['datepaid'] = '';
$insertarray['lastlogin'] = NOW();
$insertarray['login_count'] = '0';
$insertarray['status'] = 'dead';
if($this->db->insert('sellers',$insertarray)) {
if not whats a viable alternative - not wanting to rely on php's time/date functions
thanks