connect(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME, true)) $dao->print_last_error(false); $DT_Pno="011"; $data = array( 'user_name' => $DT_Pno, 'date_added' => '04/13/2012 4:12 PM' ); $user_id = $dao->insert_array('users1', $data); $dao->end_db; ?>