RE: [PHP] If Column Exists
| From: | Jay Blanchard | Date: | Tue, 12 Aug 2008 21:42:09 +0000 |
| Subject: | RE: [PHP] If Column Exists | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-278011@lists.php.net to get a copy of this message | ||
[snip]
I am working on data migration for one mysql db to another using PHP.
How do
I check if a particular table has a particular column. If not alter...
[/snip]
Use DESCRIBE TABLE;