I have error_reporting(E_ALL) turned on, so that if I don't use apostrophes within an array (i.e $var['name']), I receive the appropriate error. Unfortunatly, I cannot figure out a way to use $var1[$var2] without receiving an error. You cannot use apostrphes within it as it as it will take $var2 literally. Any ideas on how to format it to not receive an undefined index error?
Damn undefined index
Collapse
X
Related Topics
Collapse
-
by baobabitMy forum was running OK first thing this morning but shortly after I logged in to the Control Panel the forum died (without me changing any settings). The error message in the log files are as follows:...
-
Channel: vBulletin 5 Installs & Upgrades
-
-
by jkotlowskiDatabase error in vBulletin 5.2.5:
Invalid SQL:
SELECT * FROM vb_searchlog
WHERE `searchhash` IN ('4951d4e12d3ada164eab0ad75096e353') AND `userid` = 2 AND `dateline` >= 1483089714...-
Channel: Support Issues & Questions
Fri 30 Dec '16, 12:31am -
-
by Jeanius!Hi,
Seeing this error in the admincp, on the Ban User page?
Notice: Use of undefined constant TYPE_STR - assumed 'TYPE_STR' in .../modcp/global.php on line 86 Notice: Undefined index:...-
Channel: Support Issues & Questions
-
-
by matthieu.pWhy this message appear in the header of my VB5 stable release not modified at all?
Notice: Undefined index: moderatorpermissions in C:\wamp\www\forumvb5\core\vb\usercontext.php on line ...-
Channel: Support Issues & Questions
Tue 12 Mar '13, 2:15am -
Comment