The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (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?
#7
<?= is a shorthanded <?php echo

E.g. I have defined $test = "Blah blah blah"
I can then to <?=$test;?> (you can drop the ; actually) and it will echo this value.

You can read more here:
https://stackoverflow.com/questions/2020...ean-in-php
  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)