I want a php script to do this:
I have a database with a row with a value "mega".
I have a php script which adds a row with some info, but the same cell as the mega is supposed to automatically be called mega1. When I add one more row later on it's value will be mega2 etc.
Like a form of auto-increment function, but with a combination of a word and a letter which checks in the database the latest number and adds one.