How can I alter a table to drop a column if it exists?

Rolferm

New Member
Before you flag this as a duplicate, I've read the other question, and it pertains to a different version of MySQL. I'm running the next up major version:\[code\]MySQL version 5.0.91-community\[/code\]I need to drop a column if it exists, and I also need to add a column if not exists.How can I go about doing this in PHP?
 
Back
Top