Jump to content

Archived

This topic is now archived and is closed to further replies.

Janus13

Update Table PHP page

Recommended Posts

I am writing an upgrade script that I want to be able to test and see what tables and columns in those tables already exist so it can add the missing ones. Would I need to test each column individually or is there a build in function to mysql/php that can test for a column in a table and alter the table? Or would I basically have to test for each column in the table and add the missing ones?

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.