id_last_msg question

Started by Mick., January 09, 2011, 11:23:36 AM

Previous topic - Next topic

Mick.

Whats the difference between the two?

id_last_msg   &    ID_LAST_MSG


Is the capital letter one for 1.1.x  and the other for 2.0?

cicka

Quote from: bluedevil on January 09, 2011, 11:23:36 AM
Whats the difference between the two?

id_last_msg   &    ID_LAST_MSG


Is the capital letter one for 1.1.x  and the other for 2.0?

Yes, I think so.

Arantor

Yes.

As far as MySQL is concerned, there is no actual difference, though the array returned through mysql_fetch_assoc / $smcFunc['db_fetch_assoc'] will care.

The original reason for it being in capitals is that like throughout 1.1.x, it's a primary key reference (specifically, it's a foreign key to smf_messages.ID_MSG) but since 2.0 has systems that don't allow mixed case names, the table names were all made lower case.

Mick.


Advertisement: