0

Hi guys! I don't know if i post it in the right forum page, but I would like to ask if it's possible to put color on the last row of your table (LAST ROW ONLY). the data is from SQL. I would appericiate any references or links, snippets, anything! Thanks! :)

Edited by cigoL..:): formatting?!

4
Contributors
3
Replies
4
Views
4 Years
Discussion Span
Last Post by diafol
0

In your table, set a field with primary key and auto increment options , ie ; Row ID;

Then ; in your query , set

SELECT  FieldNameId   FROM   your_Table ORDER BY FieldNameId DESC LIMIT 0, 1;

the result of this query will give last row Id

Edited by Bachu

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.