Sorry for a misleading title, was hard to explain the problem so short…
So I’ve got a few variables named $exp_lvl1, $exp_lvl2 and so on…
To make it more simple I got $exp_lvl (which just gives an error because it don’t exist and that’s normal in this case) and I got the number needed in a variable $next_exp.
How do I put these together? I have tried $exp_lvl.$next_exp and it didn’t work. How should I do?
I guess you want something like this:
Test:
See @ PHPFiddle