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! :)
cigoL..:)
-1
Newbie Poster
Recommended Answers
Jump to PostIn 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
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.