Ok, i’ve picked away on this for a while and can’t figure it out. i have a database setup as following:
name | description | per
varchar(150) | text | varchar(255)
(example of data:
tester | This is a test item | 1,3,5,6)
lets say i have a page that i want to only display the test item once, so lets say when the user selects 5. how would i go about and display it only that once? Now i can’t use
[code=php]WHERE `per` = ‘%6%’
because what if the options in the per list are 4,6,12,16….the wildcard(%) can’t seperate the differance between 6 and 16, thus it will get displayed twice, because it sees 6 twice. Any suggestions?