lejo

lejo

  • 1.3k
  • 425
  • 14.4k

select quer for fetch all record

May 20 2024 2:03 PM

@Status int

from page i am passing id 0,1,2

Table data is saved as 0,1 and type is int

where condition if 0 is passed from page -data will get  status=0

where condition if 1 is passed from page -data will get  status=1

where condition if 2 is passed from page -data will get  status=0,1   .how to get all record by passing 2 from page


Answers (1)