Welcome Guest, Not a member yet? Register   Sign In
is there any way to pass mysql's NOW() to mysql ?
#2

[eluser]xwero[/eluser]
You can try to single out the field
Code:
foreach($sellerdata as $what => $details) {
if($what != ‘passconf’) {
$insertarray[$what] = $details;
}
}
$insertarray[’confirmed’] = ‘no’;
$insertarray[’paid’] = ‘’;
$insertarray[’datepaid’] = ‘’;
$insertarray[’login_count’] = ‘0’;
$insertarray[’status’] = ‘dead’;

$this->db->set('lastlogin', 'NOW()',false);
$this->db->set($insertarray);
$this->db->insert('sellers');


Messages In This Thread
is there any way to pass mysql's NOW() to mysql ? - by El Forum - 03-03-2008, 05:00 AM
is there any way to pass mysql's NOW() to mysql ? - by El Forum - 03-03-2008, 05:10 AM
is there any way to pass mysql's NOW() to mysql ? - by El Forum - 03-03-2008, 05:12 AM
is there any way to pass mysql's NOW() to mysql ? - by El Forum - 04-22-2008, 01:58 PM
is there any way to pass mysql's NOW() to mysql ? - by El Forum - 04-22-2008, 02:13 PM
is there any way to pass mysql's NOW() to mysql ? - by El Forum - 04-22-2008, 02:15 PM
is there any way to pass mysql's NOW() to mysql ? - by El Forum - 04-22-2008, 02:24 PM
is there any way to pass mysql's NOW() to mysql ? - by El Forum - 04-22-2008, 02:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB