I have a for loop that runs a strlen():
for ($this_cont=0; $this_cont<$global_not; $this_cont++) {
echo strlen("not" . $this_cont);
}
What I want to run the strlen() on are variables called $not0, not1, $not2 and so on. Trouble is, the function just outputs 4 for each variable, since it doesn't really consider it a variable (just a string starting with "not" and ending with a number).
Any way to make strlen() look for the variable $not1 and not "not1"?
Cheers!!