Hi,
Can anyone tell me why this doesn't work?
$check = r1_cells();
if($check == "true"){
// do code
}
function r1_cells(){
if($cell == 5 OR $cell == 23 OR $cell == 41 OR $cell == 59){
$check = "true";
$return $check;
}
}
Basically what I'm trying to do is substitute the $cell==1 etc up to 800 different cells, then I have a set of if statements that tell it what to do. I also tried this:
if($round_one_cells){
//do code
}
$round_one_cells = "$cell == 5 OR $cell == 23 OR $cell == 41 OR $cell == 59";
If anybody has any tips or ideas please help!