Can i split the two values without database

Hi all,

Can you please any one help me , i had two models Current and discontinued models. I want to split these two means if the user clicks the current, then the listing should be only current list and if the user list the discontinued model the list should be only discontinued list. But not to use database, it should be done only in coding. Can you please help me.

Thanks in advance.

Sponsor our Newsletter | Privacy Policy | Terms of Service