I am doing something wrong and I canโt figure out what to do with it (how to fix it)
code:
var_dump($each->promotion-type);
returns:
PHP Notice: Use of undefined constant type - assumed 'type' in newfile.php on line 19
I canโt change this variable name like how I get from my provider, any ideas how I can access this promotion type variable? (syntax wise)
source share