Hey all,
I have an array with an unknown number of rows in it.
I want to read the value (into a variable) of the last row in the array. It will be a integer.
The data for the array comes from a MySQL query, if that is relevant at all.
Any idea how I can do this?
edit: I was able to butcher some code together to do this.
I would share it, but its so terrible I don't want anyone to see it
I have an array with an unknown number of rows in it.
I want to read the value (into a variable) of the last row in the array. It will be a integer.
The data for the array comes from a MySQL query, if that is relevant at all.
Any idea how I can do this?
edit: I was able to butcher some code together to do this.
I would share it, but its so terrible I don't want anyone to see it