Locales and Including functions
Hi All,
I'm trying to do two things that i cant figure out and would appreciate some help.
1) find the locale string for papua new guinea and fiji so i can display the price with the correct international symbol (PGK or FIJ). I know that i can hard code the string but every other locale i have done (indonesian, NZ and AUS) works but not these two, and i cant find the locale string anywhere.
2) have all my database functions in one file, and include this file in all my .php files requiring data access. i used 'include' and 'require' but both seem to just print the text of the file to the screen rather than letting the function calls in the calling php file use the functions. I've searched google and nothing similar to what i want to do, yet it seems to me that this should be rather simple - including these functions in multiple files is not exactly the best practice, imho.
any help will be greatly appreciated!
%simon
|