php - How to sort my SQL table datas in category wise -


i trying create music site, need sort table data in category wise.

like english, chinese, hindi etc.

but data's on 1 page

i need 3 different pages

example.com/englishsongs.php

example.com/chinesmusic.php

example.com/hindimusic.php

schema

create table `players` (  `id` int(11) not null auto_increment,  `namemovie` varchar(50) not null,  `releaseyear` varchar(50) not null,  `musiccategory` varchar(50) not null,  `musiclink` varchar(50) not null,  primary key (`id`)  ) engine=myisam default charset=latin1 auto_increment=5 ; 

please see below query give actual result want

 select namemovie, releaseyear, musiccategory,  musiclink players group musiccategory, namemovie,  releaseyear, musiclink  

Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -