I am trying to implement a way via which I could load database record using 5 parameters from an external database
Student ID
School Code
Examination Type
Examination Year
and number of times the user has checked the record (my maximum is 3)
I have read the how to "https://www.chronoengine.com/faqs/70-cfv5/5219-how-to-load-record-data-from-a-database-table-into-your-form.html" and have tried the codes below but I have some problem yet.
How should I proceed? Please help me out as quickly as possible.
Thank you.
Student ID
School Code
Examination Type
Examination Year
and number of times the user has checked the record (my maximum is 3)
I have read the how to "https://www.chronoengine.com/faqs/70-cfv5/5219-how-to-load-record-data-from-a-database-table-into-your-form.html" and have tried the codes below but I have some problem yet.
<?php
return array('RCstudentid' => $form->data('RCstudentid'), 'RCschoolcode' => $form->data('RCschoolcode'), 'RCexamtype' => $form->data('RCexamtype'), 'RCexamyear' => $form->data('RCexamyear'));
?>
return array(
'RCstudentid' => $form->data('RCstudentid'),
'RCschoolcode' => $form->data('RCschoolcode'),
'RCexamtype' => $form->data('RCexamtype'),
'RCexamyear' => $form->data('RCexamyear'),
'RCexamyear' != 3,
);
?>
How should I proceed? Please help me out as quickly as possible.
Thank you.