Formatting Database Output
I have a query that i have been having trouble with for some weeks and i am desperate to get working.
What i want to do is construct a statement from the values i pull from the database.
for example, i have 2 rows in the database, one field, called dbValue that has the values "Value 1" and "Value 2"
I want to pull the values from the database and construct an if statement like the following
if testing = Value 1 OR Value 2 then
Could someone please help me out, the values have to be pulled from the database as they will be dynamic.