i bir çözüm bulmak için aramak için ne bir sorun var ve gerçekten bilmiyorum.
Description:
I have a mysql table with the following colums "id", "name", "value", "parent" with "id" as primary key. "id" is a autincreament number, "name" is the name of the category, "value" is the value of the category and "parent" is the parent name(category) for this row. How can i show this table in the correct order, means sorted by their parent name.
example:
sql: strong>
id | isim | değer | ebeveyn
1 | N1 | BLA1 |
2 | n2 | bla2 | n3
3 | n3 | bla3 | n1
html: strong>
n1 BLA1
n3 bla3
n2 bla2
Please help me out with some codesnippet or helpful link...any help apreciated. Thanks in advance for your help.