That hasn't worked for me Tony. My code is
// If the number of rows retrieved is more than the maximum sequence number then don't display some of the output task buttons
$exammax =& RDCsingleton::getInstance('exam');
$exammax->sql_select = "MAX(exam_seq_nbr) as maxseq";
$exammax->sql_where = "rdc_no_post_getdata=true";
$max_seq = $exammax->getData_raw($where);
and this has generated the following error:
Fatal Error: MySQL: Unknown column 'rdc_no_post_getdata' in 'where clause' (# 1054)
SQL query: SELECT MAX(exam_seq_nbr) as maxseq FROM exam WHERE rdcaccount_id='6' AND session_id='37' AND rdc_no_post_getdata=true
Error in line 1046 of file '/var/www/medaltest.com/includes/dml.mysqli.class.inc'.
I'll step through with my debugger and see if I can find out what happened.
However, I noted that the line numbers you quoted don't seem to match with what I'm seeing in std.table.class.inc. The header in that file is dated 14/11/24 and says revision 52.