06.04.2014, 10:23
Which in all honestly is a terrible way to do it. If you need to add a number to a field name then you're doing it wrong. In no occasion should you ever need to format a field name. I might write a full fledged tutorial later today on how to do it properly, which will be an extension on my previous tutorial on the subject.
For instance, my weapons table (yes, a separate table) currently looks like this:
Fairly simple to understand how it works, I think. Get a weapon = insert a row, lose a weapon = delete a row.
For instance, my weapons table (yes, a separate table) currently looks like this:
Fairly simple to understand how it works, I think. Get a weapon = insert a row, lose a weapon = delete a row.