kkroo Posted March 24, 2006 Share Posted March 24, 2006 I have a function that gets the names of $lang arrays from a language file, the problem that i am facing is that i would like to print_r the array name that is returned from the function. But the function returns as a string, for example, $lang['Test']. What do i do so php reconizes it as a variable that represents an array and not a variable that represents a string? Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted March 24, 2006 Share Posted March 24, 2006 Can you post your code and a sample of the data. That may help us understand your question better. In the mean time you might want to look at [a href=\"http://us2.php.net/manual/en/language.variables.variable.php\" target=\"_blank\"]variable variables[/a].Ken Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.