I have this line in my code:
print"$level_typeIDRelatedToOrgArray[$i]";
this will print the entire array of values. (it's in a while loop). Right after this statement I have my $sql_statement. Like this:
$sql_statement="SELECT level.level_typeID FROM level
WHERE level_typeID='$level_typeIDRelatedToOrgArray[$i]'";
My problem is that when I: print"$sql";
It will print the statement but at the end it says "WHERE level_typeID= ''"; As if there are no values in $level_typeIDRelatedToOrgArray.
If anyone can see my problem and think they can help it would be greatly appreciated!
Thanks everyone!