thanks.
let me explain what I'm doing. i have a table with repeat rows of column_A (history table) where the values may change over time. I need to evaluate where :
empty($row['column_A ']) //assuming Bbat or Cbat contains column_A
!empty ($row['column_A '])
Using '0' inserted as default which should evaluate as empty.
Some early rows have '0' while later rows have numeric values.
These are joined by a column in-common like:
SELECT *
FROM Bbat, Cbat
WHERE Bbat.mID = Cbat.mID and mID = colname
//where colname is a session variable.
But with DESC 1,1 whenever there is a '0'//empty on ANY column (former row) the DESC 1,1 is not being adhered to.
How can I make the last row only be evaluated?