[eluser]RaGe10940[/eluser]
In your SQL statements/active record you should be able to explicitly state your table.row like in my model example :
Code:
function waiting() {
try {
$sql = "SELECT DISTINCT
session.session_id as id,
session.anum,
student.first,
if you notice my session.session_id as id, session. < - - - table session_id < - - - - row in the table and in mysql using AS after you can then later give it a unique value to you.
Now I am not 100% sure as I have no use for "active record" as I just use PDO, but I am pretty sure you should be able to explicitly state which table.row you are trying to use AS id.
I hope this offers some light to your question in hopes of an answer.