iPixel Posted June 14, 2007 Share Posted June 14, 2007 ok ! i've got this dictionary.js file and it looks something like this var BTU = '<font class="tooltipWord">BTU</font> : British Thermal Units - The quantity of heat required to raise the temperature of one pound of water from 60° to 61°F at a constant pressure of one atmosphere.'; var CFM = '<font class="tooltipWord">CFM</font> : Cubic Feet per Minute.'; etc.. etc... just much much much more variables. i use these elsewhere but i also want to build a static page that will display all of these values, this static page calls for the js file <scrip type="text/javascript" src="dictionary.js"></script> my questions to you is .. how can i do that Basically get all the var's that exist and print them all out in a nice clean fashion. These are all defined by hand and at one point the file will contain hundreds of vars Thanks Piotr Link to comment https://forums.phpfreaks.com/topic/55620-get-or-find-all-user-defined-variables-from-a-file/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.