My script reads files (which has http urls, and title) and parse them in html format. For example,
- the script reads files and retain them in array (variable names): media.txt, research.txt --> $filename[0], $filename[1], ...
- the content of media.txt is http urls and corresponding titles.
www.phpbuilder.com ... PHPBUILDER site
- the script then returns <A href="http://www.phpbuilder.com">PHPBUILDER site</a>
This works fine...
My problem is that I want to translate file names into another language. For example, media --> "media (equivalent in Janpanese, for example)"
How would I do this?
I was thinking using define, but define is only for constants, not for variables. For example, using the variable names ($filename[$i]) as constant wouldn't work. That is,
echo ""._${menuList[$i]}."<br>\n";
would report an error.
Thanks for your help!