I'm trying to make a general if for some variables that i have in my database. Let's say that we have the next variables and values:
$var1 = "abc";
$var2 = "n/a";
$var3 = "das";
$var4 = "n/a";
My if statement must include all these variables, check which variables contain "n/a" and for every variable that contain "n/a" the script must make another variable $var21 = "Not Available". Is that possible?