Hello pppl,
I made a query which reads all the data fro a table and outputs evryrow from db in one html <tr></tr>, so it will result a table like in the tatabase. What i want is to make one row a color and next row other color, or the content of one row to be aligned to the right and the content of next row to be aligned to the left.
What I want from you is to give me an idee on how can I do that, cause I realy dont have a clue about this.
I tried to do something like this now few months, and I quit 🙂. I tried doing this: when i insert a new row in the database, a script reads the column color of the last inserted row, and if it was 1 this row will be 0 and if it was this ow will be 1. But the problem was when I tried to sort the data by other column then id. And this was not a good.
If you have any idee pls tell me few words.
10x and see ya