HighFlyerPL185 Posted April 16, 2013 Report Share Posted April 16, 2013 Hi, I was wondering how I could create a database column in a way that I could avoid it being wiped out during updates? They don't come often, and I'm not complaining at all, but I'd rather be safe than later lose that data. If there is a way to do this, I'm absolutely clueless on how to assign arrays so they can display in a table, i.e $schedules->new_column_name, so could anyone please redirect me towards some kind of a tutorial or point to a starting point with an example? For instance, I'd like to add a column called 'division' to phpvms_schedules. The column would be used to assign simple values, 1, 2, 3 etc. 1 for example could stand for Low-Cost, and then I could do an if else statement to display an image for that division. Would that work or is there some more trickery to it? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.