Jump to content


Photo

Update Table PHP page


  • Please log in to reply
No replies to this topic

#1 Janus13

Janus13
  • Members
  • PipPipPip
  • Advanced Member
  • 54 posts

Posted 04 March 2006 - 10:00 PM

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?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users