As a PHP-newbie I have encountered a problem that has to do with variables. I guess that it's especialy a syntaxproblem.
The thing I want to do is this: There are 3 external variables ($category, $type and $name). These variables can contain a few values wich determine wich text is to be displayed in the page. There are different texts available. They are defined in different variables that are constructed as follows: $textABC. The A corresponds with the value of category, the B with the value of type and the C with the value of name. The question is now: how do I display the text that matches the values of the variables. I thought that it would be sufficient to simply echo the following: '\$text'.$category.$type.$name But this doesn't seem to work. I hope this description is clear enough, so that someone can answer my question.
Thanks is advance for your replies, Michiel