SELECT item_name
from items WHERE item_id
= $var;
I tried:
$var = 001 || 002 || 003 || 004;
$var = 001 OR 002 OR 003 OR 004;
$var = 001 or 002 or 003 or 004;
But all do not work.
Thanks, i try that, but the output only 1 result => 1.
What I want is to output all, i.e. 1, 2 , 3 and 4.. Means, I want to select multiple records(rows) from 1 column
How to do that?