I need the DB Read action to get records between two dates, I am having issues making this work. Kindly help
NORMAL SQL QUERY
I need to implement the code above in array format below:
RETURN ARRAY AS REQUIRED BY DB READ ACTION
I will be very grateful
NORMAL SQL QUERY
"WHERE Payment = 1 AND id = '$a' AND Date BETWEEN '$b' AND '$c'";
I need to implement the code above in array format below:
RETURN ARRAY AS REQUIRED BY DB READ ACTION
return array( 'Payment' => 1, 'id' => $form->data['pcuser'], 'PWVTransactionDate >= ' => $form->data['pcfromactual'], 'PWVTransactionDate <= ' <= $form->data['pctoactual'], ); ?>
I will be very grateful