The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Make additional $user variables?
#1
Hi all,

The script I'm working on, uses an Array of strings to be both in Spanish and English. (or at least the original script I'm converting to US does).

A couple of questions, I saw that US has its own multi-language section, can this be added on to?
If not, is it possible for me to turn an array such as $lang so that I could refer to element 15 and echo just $lang->15 without having to load the array in every file?

Hope these questions make sense,
Chris
  Reply


Messages In This Thread
Make additional $user variables? - by Katronix - 09-12-2017, 05:33 PM
Make additional $user variables? - by Katronix - 09-12-2017, 06:40 PM
Make additional $user variables? - by karsen - 09-12-2017, 07:28 PM
Make additional $user variables? - by Katronix - 09-12-2017, 07:49 PM
Make additional $user variables? - by karsen - 09-12-2017, 08:25 PM
Make additional $user variables? - by Katronix - 09-12-2017, 10:21 PM
Make additional $user variables? - by Brandin - 09-13-2017, 09:32 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)