Tech Musings

Thursday, December 01, 2005

Alter MySQL table through PHP?

I'm wondering if it is possible to use an "alter table" SQL statement with PHP to dynamically insert a new field into a MySQL table with data directly inputted from a user who fills out a form?

Example:

ALTER TABLE `test` ADD `test_3` VARCHAR( 150 ) ;

I will need to research this to see if it is possible.

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home