FN-FORUM: MySQL PHP Query
date posted 21st January 2007 14:35
little teaser that shouldn't be any bother having I have a block
I have a query that current;y is just one value '1' however I now need to
add more values so that it is using 1,2,3
because I am using a $value
what is the best way to 'repeat' $value within the query without repeating
it? Sounds dumb I know, but maybe this is what I have a block!
I want
$value="1 AND 2 AND 3";
I currently have $value="1";
Andrew