Re: for each question
That’s very difficult to decipher, so for maintainability may I suggest you break out the code so you create variables first then use them when creating the echo statement.
It looks like you need to use call_user_func(tabel["is"])
to run the function names that you’re retrieving from the db.