Why does the following result in an error message? (it is declared inside a function in PHP by the way; $a and $b are alphabetic values, not numeric)
global $pre[''.$a.''], $predis[''.$b.''];
Parse error: syntax error, unexpected '[', expecting ',' or ';' in ...
global $pre, $predis;
Then use $pre and $predis how you want.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With