-
Posts
1,093 -
Joined
-
Last visited
Community Answers
-
Stooney's post in Variable Name VS Table Column Name was marked as the answer
While your last comment was quite rude, it looks like you're trying to find out how to name a variable based on another variable's value.
Here is the answer to that question:
http://php.net/manual/en/language.variables.variable.php
The fact still remains that your DB design is bad and should be reworked.